Compare commits

..

8 Commits

Author SHA1 Message Date
e4492106a3 Slightly change the valid test input file
All checks were successful
Validate the build / validate-build (push) Successful in 25s
2025-04-02 12:17:21 +02:00
8bd168dbf6 add functionality to main to parse and print the ast 2025-04-02 12:17:21 +02:00
22140cac71 Partial parser implementation 2025-04-02 12:17:06 +02:00
6366bdec56 TODO: REVIEW ME AND WRITE PROPER MESSAGE
Fix lexer issue where consuming n tokens always fails if there are n
tokens and always succeeds if they aren't n tokens
2025-04-02 12:17:06 +02:00
b68811a483 Add a parser combinator to parse a delimited list 2025-04-02 12:17:06 +02:00
0d604a2c65 Add basic parser combinators 2025-04-02 12:16:59 +02:00
9e9c31253e Use new validator function for parse_token calls on all primitives
Also adds new validated primitives for NODE_SECTION and NODE_REGISTER
2025-04-02 12:16:59 +02:00
b95ba07e86 Add "primitive" parsers for all the semantic tokens in the lexer grammar 2025-04-02 12:05:56 +02:00

Diff Content Not Available