Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
22 check-ins
2024-10-22
| ||
04:40 | + Implemented the PROCEDURE keyword (sans parameter list) * Changed BODY block type to PRGRM * Simplified some of the parser functions (less dynamic allocation) * Minor reformatting - Removed a redundant datatype that was private to the OParser module Leaf check-in: 7b2093c502 user: RyanMcCoskrie tags: trunk | |
2024-10-20
| ||
00:06 | + Can compile very simple functions (single return statement) + Terminals (eg. ';', '(', ')', ',', etc.) now distinguished from key words + Added WriteToken function for debugging purposes * CompileStatementToCCode now supports both assignment and return statements * CompileBlockToCCode now requires an argument to specify block type * Moved entirity of tokenisation into olexer.pas * Added a simple function to sample.otil * Minor reformatting check-in: 632b87ec80 user: RyanMcCoskrie tags: trunk | |
2024-06-12
| ||
02:18 | + Added support for # style comments check-in: 5fac872f0f user: RyanMcCoskrie tags: trunk | |
01:29 | Small clarifications in docs and an error message check-in: d196223cad user: RyanMcCoskrie tags: trunk | |
2024-06-11
| ||
10:44 | Corrected in-source name of Captain from temporary name of Admiral check-in: ae007b6bf9 user: RyanMcCoskrie tags: trunk | |
01:43 | + Began writing the kernel, Captain (currently just some globals) + Added operators as a class of token similar but separate to key-words + Started adding support for simple arithmetical expressions in OTIL * Generated C code now includes stdint.h, just in case check-in: 124559ad81 user: RyanMcCoskrie tags: trunk | |
2024-06-09
| ||
11:18 | + OTIL can now compile simple assignment statements + Added numerous functions to OParser module's implementation for interpreting syntax * Rewrote many tests to prevent segmentation faults caused by type-mismatches * Generated C code is slightly more readable - Removed a redundant variable from the main program file check-in: b8e32e4e52 user: RyanMcCoskrie tags: trunk | |
2024-05-28
| ||
10:44 | * Output C types are now in the new bit-width specific style * Fixed compilation-breaking typo in parser * Removed a double-space in generated definitions of constants check-in: c77ab73991 user: RyanMcCoskrie tags: trunk | |
10:29 | OTIL now supports declaring constants check-in: 8f219c84e1 user: RyanMcCoskrie tags: trunk | |
2023-10-14
| ||
19:00 | * Fixed list of types * Fixed PROGRAM parsing function so that the body doesn't overwrite definitions + Syntax Tree printed before code generation for debugging purposes (This was actually included by accident two commits ago) check-in: a70d3b2f15 user: RyanMcCoskrie tags: trunk | |
18:38 | * Replaced spaces with tabs check-in: c13e521a83 user: RyanMcCoskrie tags: trunk | |
16:55 | Minumum C Code generation * Set sights lower to generating C-Source that simply exits + Added a parser that constructs a tree + Added just enough of a code generator to create an empty program check-in: ab9da42baf user: RyanMcCoskrie tags: trunk | |
2023-07-02
| ||
08:34 | Removed an obsolete comment check-in: 2848888ee1 user: RyanMcCoskrie tags: trunk | |
08:31 | String to Keyword/Type matching now based on looping through arrays check-in: ddaa055fb5 user: RyanMcCoskrie tags: trunk | |
2023-07-01
| ||
03:32 | Added a second major step to the compiler + Now converts lexical (string) tokens to semantic (record) tokens * Fixed empty tokens being added after double white spaces * Removed line from OToken Records * Corrected data types in sample code check-in: d0c9c1e6fc user: RyanMcCoskrie tags: trunk | |
02:00 | * Refined tokenisation process. Still only divides into strings check-in: 70e16d560f user: RyanMcCoskrie tags: trunk | |
2023-06-25
| ||
21:27 | OTIL now divides input file into line-separated tokens + Added OLexer file containing helper functions + Added OTypes file containing semantics to be used in future versions check-in: 30ae042700 user: RyanMcCoskrie tags: trunk | |
2023-06-17
| ||
10:10 | Reduced source of sample program to match previous commit check-in: 3cd91bc84c user: RyanMcCoskrie tags: trunk | |
10:07 | Made initial goals even lower check-in: 87d1cb830d user: RyanMcCoskrie tags: trunk | |
2023-03-20
| ||
06:12 | Added a skeleton for the bootstrap OTIL compiler and an OTIL code sample check-in: 671cb594ff user: ryan tags: trunk | |
2023-03-13
| ||
08:23 | + Added a RoadMap for developing the bootstrap version of OTIL check-in: bff0295cf2 user: RyanMcCoskrie tags: trunk | |
2023-01-21
| ||
21:27 | initial empty check-in check-in: 2d8634d20c user: RyanMcCoskrie tags: trunk | |