Commit graph

24 commits

Author SHA1 Message Date
066ad1e982 faster: Iterative gen_sets 2024-04-13 13:33:36 -07:00
c5552ab36f faster: split out recursive sets 2024-04-13 13:20:33 -07:00
44c71b2ea9 faster: tuples and some caching 2024-04-13 13:19:00 -07:00
ade859d6a0 faster: gen closure iterative 2024-04-13 13:17:02 -07:00
e1240759eb faster: first symbol cache 2024-04-13 13:16:26 -07:00
9cf9880bd1 faster: sort with None properly 2024-04-13 12:32:26 -07:00
02e8282e0f Baseline: "faster" 2024-04-13 12:30:54 -07:00
3218367c65 Fix some lints 2018-03-21 20:13:45 -07:00
a96c88a39e Create README.md 2016-12-13 16:15:33 -08:00
1ee06dde59 LALR parsers
I'm starting to get worried about quadratic behavior though.
2016-12-13 16:14:14 -08:00
9fe44d30e0 Canonical LR1.
Also:

- Reorganize the file into sections so I can keep track of where I am,
  and so it reads more cleanly from top to bottom.

- A little more work on documentation and comments and the like.
2016-12-13 16:14:14 -08:00
c4be7bcd9f Handle mutual recursion in gen_follow
Also an example of a case where SLR1 fails, to lead into LR1
generation.
2016-12-13 16:14:14 -08:00
a2e8a784c2 Fiddle with message. 2016-12-13 16:14:14 -08:00
86bd8fffc8 SLR1 parsing. 2016-12-13 16:14:14 -08:00
8d0726b3a4 Ok, one more bit of documentation. 2016-12-13 16:14:14 -08:00
95b01a627d Docs
(And a small bug fix.)
2016-12-13 16:14:14 -08:00
cf10891c19 Make it so Configuration() is constructed fewer places
This will make it so that I can add fields to Configuration to support
additional parser generators without breaking any individual
generator.
2016-12-13 16:14:14 -08:00
169ec4ff08 First and follow. 2016-12-13 16:14:14 -08:00
5a0b1654a9 Conflicting examples. 2016-12-13 16:14:14 -08:00
9781765043 More docs, more stuff. 2016-12-13 16:14:14 -08:00
c1ecf8e260 Detect conflicts in the table generation. 2016-12-13 16:14:14 -08:00
edd5ee3d55 Comments and clean-up. 2016-12-13 16:14:14 -08:00
34560342ff Initial commit; enough code now I want a record. 2016-12-13 16:14:14 -08:00
533c30bae2 Update LICENSE.md 2016-12-13 16:07:13 -08:00