aboutsummaryrefslogtreecommitdiff
path: root/src/grammar.zig
Commit message (Collapse)AuthorAge
* grammar: fix invalid grammar loading errorNathan Reiner2025-05-22
|
* fix unit testsNathan Reiner2025-05-21
|
* Remove unneeded print statementsNathan Reiner2025-05-15
|
* minor optimization: add a first set to each rule variantNathan Reiner2025-05-15
|
* recognizer: fix next_char check bugNathan Reiner2025-05-14
|
* make it work sometimesNathan Reiner2025-05-13
|
* add full grammar parsingNathan Reiner2025-05-06
|
* fix namingNathan Reiner2025-04-24
| | | | | the struct RuleList is now named NonTerminal and its member rhs is now called Rule.
* change Grammar to in-file structNathan Reiner2025-04-24
|
* Implement grammar parserNathan Reiner2025-04-24
This implements the grammar struct together with some other helpful structures like char-set and character. The grammar struct parses a grammar file and also generates the FIRST and FOLLOWS tables.