Commit Graph

28 Commits

Author SHA1 Message Date
Eric-Paul Ickhorn 2cbcfdd336 Moved item parser to own file and changed the need for clear connectors between items to collections of items 2023-11-29 22:13:15 +01:00
Eric-Paul Ickhorn 1d8df2c22a Second part of re-renaming grammar.h 2023-11-29 21:40:58 +01:00
Eric-Paul Ickhorn c5e21b4dc8 Enhanced Tokenizer to support more special signs 2023-11-29 21:39:24 +01:00
Eric-Paul Ickhorn e70e9c5cef Renamed parcel.h to grammar_parser.h to reflect the grammar parser not being the whole project. 2023-11-29 20:08:42 +01:00
Eric-Paul Ickhorn dd5f43fd7f Moved auxiliary functions to a new module 2023-11-29 19:17:00 +01:00
Eric-Paul Ickhorn 5b4c28a350 Added new sample and fixed memory bugs found with new sample. 2023-11-29 18:27:46 +01:00
Eric-Paul Ickhorn 3251632dbe Cleaned up code and fixed memory leaks 2023-11-29 14:00:43 +01:00
Eric-Paul Ickhorn b8f4fd9feb Added half-way decent error handling 2023-11-29 00:26:56 +01:00
Eric-Paul Ickhorn 0b0b1d227f Changed build.bash as needed due to the directory renaming 2023-11-28 22:27:17 +01:00
Eric-Paul Ickhorn 6243979124 Moved the code of the parser to its own directory to make space for other modules 2023-11-28 22:26:45 +01:00
Eric-Paul Ickhorn 3c59e4fb93 Started proper error recovery 2023-11-28 22:21:23 +01:00
Eric-Paul Ickhorn 9fa1d70eb2 Fixed some minor compilation errors and indented the function names in the utilities further 2023-11-28 21:28:57 +01:00
Eric-Paul Ickhorn 20f1d2b5ac Implemented a basic logger 2023-11-28 21:25:53 +01:00
Eric-Paul Ickhorn b058cbe288 Implemented an arena allocator 2023-11-28 21:25:20 +01:00
Eric-Paul Ickhorn ad415bcafe Made tokenizer store lines and columns of tokens 2023-11-28 20:27:20 +01:00
Eric-Paul Ickhorn 5cecbaf11d Fixed a bug in the AST Grower which made the keyword word unusable 2023-11-28 19:34:51 +01:00
Eric-Paul Ickhorn dc13ca8bfa Added and integrated own memory copy, set and zero-out functions 2023-11-28 19:23:57 +01:00
Eric-Paul Ickhorn cf124ffcdc Fixed a typo where an l was a 1 2023-11-28 19:02:28 +01:00
Eric-Paul Ickhorn 61ff4967a6 Implemented grammar reference linking and removed most warnings 2023-11-28 18:57:36 +01:00
Eric-Paul Ickhorn dbc5a0bd08 Added Visual Studio Code-folder to .gitignore 2023-11-28 18:08:44 +01:00
Eric-Paul Ickhorn a002556420 Renamed outlines to sets in the AST 2023-11-28 16:21:50 +01:00
Eric-Paul Ickhorn 0c220757df Added a sample for the AST 2023-11-28 16:02:17 +01:00
Eric-Paul Ickhorn d9aa79239d Added rule references to AST parser 2023-11-28 16:01:46 +01:00
Eric-Paul Ickhorn 138e361c54 Improved tokenizer to make it possible to have digits in a word 2023-11-28 16:00:10 +01:00
Eric-Paul Ickhorn de80fc7b79 Fixed a bug with compiling more than one check and added another check 2023-11-28 15:35:19 +01:00
Eric-Paul Ickhorn a83770c31d Added a readme 2023-11-26 21:13:08 +01:00
Eric-Paul Ickhorn 6e349ea298 A little bit of infrastructure: a build script and a gitignore 2023-11-26 21:00:32 +01:00
Eric-Paul Ickhorn 816f613cc1 First code 2023-11-26 19:49:54 +01:00