Commit graph

18 commits

Author SHA1 Message Date
Max Brunsfeld
5b0e12ea33 Move code into cli directory 2019-01-04 16:50:52 -08:00
Max Brunsfeld
3a727af264 Add flag for logging the item set associated with a certain parse state 2019-01-04 15:26:48 -08:00
Max Brunsfeld
baf7f3603c Mark fragile tokens 2019-01-04 11:52:16 -08:00
Max Brunsfeld
d845b81ee9 Represent nfa transitions as structs with named fields, not tuples 2019-01-04 09:42:06 -08:00
Max Brunsfeld
70aa4c2b2d Add a --no-minimize flag to suppress table minimization for debugging 2019-01-04 09:11:44 -08:00
Max Brunsfeld
5a7d781aaa Fix logic for identifying error recovery tokens 2019-01-03 13:49:50 -08:00
Max Brunsfeld
3fbaff5e69 Fix various logic errors in parse table construction 2019-01-02 16:48:44 -08:00
Max Brunsfeld
9824ebbbc3 Implement lex table construction 2019-01-02 16:14:36 -08:00
Max Brunsfeld
a46b8fcb46 Implement parse state merging 2019-01-01 13:47:29 -08:00
Max Brunsfeld
c6b9e97c58 Implement token conflict map 2018-12-30 19:31:55 -08:00
Max Brunsfeld
605b50e58b Start work on shrinking parse table 2018-12-29 13:57:34 -08:00
Max Brunsfeld
5258ee2e6a Implement more C code generation 2018-12-23 14:19:18 -08:00
Max Brunsfeld
261a7fd073 Represent ParseItem with reference to Production
Implement comparisons in a way that disregards past steps.
2018-12-21 15:02:48 -08:00
Max Brunsfeld
a3dcfa0a52 Implement more of parse table generation 2018-12-20 13:36:39 -08:00
Max Brunsfeld
143588c148 Implement ItemSetBuilder 2018-12-18 17:31:54 -08:00
Max Brunsfeld
889f232b4c Implement variable inlining 2018-12-18 16:05:36 -08:00
Max Brunsfeld
0688a5edd3 Implement extract_tokens 2018-12-06 22:11:52 -08:00
Max Brunsfeld
a4c4b85a16 Initial commit 2018-12-05 16:19:21 -08:00