Commit graph

18 commits

Author SHA1 Message Date
Emi Simpson 9e6c7d504d
Add a combined lex+parse method 2024-03-15 20:21:33 -04:00
Emi Simpson 98253bb254
Souped up error checking 2024-03-15 20:21:33 -04:00
Emi Simpson 46e59ba918
Make IR generation fallible 2024-03-15 20:21:32 -04:00
Emi Simpson 15206f7776
Do IR generation 2024-03-15 20:21:32 -04:00
Emi Simpson 532a5a14d0
Get parsing for the sample document working 2024-03-15 20:21:32 -04:00
Emi Simpson b8b6ba708f
Use an action type alias rather than class 2024-03-15 20:21:32 -04:00
Emi Simpson f692e8dcca
Reverse parser direction + doc 2024-03-15 20:21:31 -04:00
Emi Simpson 3afed0c2e0
Souped up the lexer to track line & col numbers 2024-03-15 20:21:31 -04:00
Emi Simpson 61ee996c7a
Add ability to build parse tree 2024-03-15 20:21:31 -04:00
Emi Simpson 140fe67d5d
Add action erasure to parser 2024-03-15 20:21:31 -04:00
Emi Simpson da35286207
Add p_instance 2024-03-15 20:21:31 -04:00
Emi Simpson 439fc91fc9
Added try_converge 2024-03-15 20:21:29 -04:00
Emi Simpson 6e1952b148
Added a basic recognizer 2024-03-15 20:21:16 -04:00
Emi Simpson 5e84e50aa2
Move oracle table generating facilities to grammar.py 2024-03-15 20:21:16 -04:00
Emi Simpson f813d91736
Move grammar and lex table to their own file 2024-03-15 20:21:16 -04:00
Emi Simpson 00043d27dd
Genericize the lexer 2024-03-15 20:21:14 -04:00
Emi Simpson 03ff0d800e
Added an oracle table builder 2024-03-15 20:20:47 -04:00
Emi Simpson c452cf3158
Truncated history due to git corruption 2024-03-15 20:18:17 -04:00