Commit graph

15 commits

Author SHA1 Message Date
e203e27407 Allow the grammar to specify a preference for a generator
Overridable, like start production
2024-06-01 05:42:40 -07:00
fee1c68dea Wrap errors
Maybe people want to see them
2024-05-31 08:31:47 -07:00
d93b779538 More argument parsing 2024-05-31 07:54:28 -07:00
1500849390 Argument parsing, render refactor 2024-05-31 06:30:13 -07:00
561dcd87ff Allow nonterminals to be renamed 2024-05-30 19:15:20 -07:00
4b8fef9ad6 Starts and ends in the output 2024-05-30 08:36:35 -07:00
dfef449c33 Better tree output 2024-05-30 08:24:36 -07:00
56d24c5fb9 Chaos: split tables, interactions, Terminal
- Tables are split into `actions` and `goto` now to make formatting
  nicer
- Token is renamed Terminal
- Likes are now Florps
- Lexer now loaded dynamically (badly)
2024-05-30 08:02:47 -07:00
71078f76b4 Interactive grammar editing 2024-05-29 19:28:42 -07:00
45a9303a27 Transparent rules
Better parsing/action types
Good grief
2024-05-29 09:07:19 -07:00
4f8aef3f89 Start working on the harness 2024-05-29 07:48:55 -07:00
7c4705714e Faster still.
Also somehow I was not merging things correctly for LALR; this merges
more completely and winds up with 215 states for the fine grammar,
which is like half of what it used to be?
2024-05-28 08:07:11 -07:00
28634677bf A little more faster. 2024-05-28 05:56:44 -07:00
8d58c64040 Fix LALR. Small, but very very slow. 2024-05-27 22:31:33 -07:00
0fc04cf11e Fix grammar bugs, work on debugging harness. 2024-05-27 19:02:10 -07:00