Max Brunsfeld
9e2dc14182
Extract public compiler API into its own header file
2014-02-17 12:40:46 -08:00
Max Brunsfeld
a63624f2aa
Simplify hashing of rules
2014-02-15 16:12:16 -08:00
Max Brunsfeld
66f7dcf28a
Remove some unused imports
2014-02-10 21:09:43 -08:00
Max Brunsfeld
15c9e2d398
Make ordering of cases deterministic in generated parsers
2014-02-10 18:38:01 -08:00
Max Brunsfeld
5ed5ae7514
In LR(1) items, only store consumed symbols as booleans
...
the booleans represent the symbols point to auxiliary tokens
or not. This is all we need to know for the purpose of building
parse tables. Any other information just leads to redundant
parse states.
2014-01-31 00:13:05 -08:00
Max Brunsfeld
7f62e752be
Allow Character rules to handle arbitrary character sets
2014-01-30 08:34:20 -08:00
Max Brunsfeld
fd0d77ef8b
Separate auxiliary rules from user-specified rules
2014-01-28 13:27:30 -08:00
Max Brunsfeld
92cec5758f
Reorganize compiler directory
2014-01-11 15:14:17 -08:00
Max Brunsfeld
29c81167c0
Remove subclasses of Symbol for terminals and non-terminals
2014-01-04 15:01:06 -08:00
Max Brunsfeld
f5a9fb67a4
Add copy method to rules
2014-01-02 13:04:41 -08:00
Max Brunsfeld
257b8d7b68
Update rule hash implementation
2013-12-30 23:52:38 -08:00
Max Brunsfeld
3116b457fe
Update some stringification methods
2013-12-30 23:12:19 -08:00
Max Brunsfeld
c10bcf4fab
Rename rules::RuleVisitor -> Visitor
2013-12-20 18:03:29 -08:00
Max Brunsfeld
6f444fcc79
Consolidate logic for making shared pointers to rules
2013-12-20 18:03:29 -08:00
Max Brunsfeld
9f78d72a7c
Get rid of types for shared pointers to rule subclasses
2013-12-19 20:07:42 -08:00
Max Brunsfeld
b1bbeae2a1
Move rule transitions to visitor class
2013-12-18 20:58:05 -08:00
Max Brunsfeld
9618efd12a
Organize source into compiler and runtime dirs
2013-12-16 00:02:08 -08:00