Max Brunsfeld
b2cb78166e
Give Rule a virtual destructor
...
Not needed at the moment because rule pointers are are always wrapped
in shared_ptrs. Still, don't want to forget this if I stopped using shared_ptrs
at some point.
2014-04-27 21:49:56 -07:00
Max Brunsfeld
661314cf4e
Remove all non const reference parameters
2014-03-09 22:21:58 -07:00
Max Brunsfeld
31a58bc7e4
Make include guards pass cpplint
2014-03-09 22:05:24 -07:00
Max Brunsfeld
39aa0ccc91
Add script to trim whitespace
2014-03-09 19:49:35 -07:00
Max Brunsfeld
7c57c521af
Add missing header includes
...
For some reason, xcode tolerated these missing includes.
Travis CI doesn't.
2014-02-19 09:25:06 -08:00
Max Brunsfeld
a63624f2aa
Simplify hashing of rules
2014-02-15 16:12:16 -08:00
Max Brunsfeld
8baa1396fd
Properly merge transitions on overlapping character sets!
2014-02-10 13:20:43 -08:00
Max Brunsfeld
1bf216b796
Rename next_{terminals,non_terminals} to first_set and follow_sets
...
This is to prepare for keeping track of lookahead symbols as part
of computing follow sets
2014-01-19 01:49:56 -08:00
Max Brunsfeld
0985fa3008
Collapse rules that contain only a single token
2014-01-05 01:19:32 -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
c10bcf4fab
Rename rules::RuleVisitor -> Visitor
2013-12-20 18:03:29 -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