Commit graph

20 commits

Author SHA1 Message Date
Max Brunsfeld
7490a7ac94 Change repeat to mean zero-or-more in lexical rules
Still need to make it work this way in syntactic rules
2014-02-12 18:35:29 -08:00
Max Brunsfeld
ab431c24dc Update json spec 2014-02-10 21:04:19 -08:00
Max Brunsfeld
8baa1396fd Properly merge transitions on overlapping character sets! 2014-02-10 13:20:43 -08:00
Max Brunsfeld
0d3a941848 Add support for character ranges in regex patterns 2014-01-30 18:54:39 -08:00
Max Brunsfeld
60e2d00b4d Parse simple character sets in pattern rules 2014-01-30 13:04:31 -08:00
Max Brunsfeld
7d297f2f9e Remove auxiliary rules from syntax tree 2014-01-28 22:09:37 -08:00
Max Brunsfeld
fd0d77ef8b Separate auxiliary rules from user-specified rules 2014-01-28 13:27:30 -08:00
Max Brunsfeld
ca33c3942a In parse table, store symbols as Symbol objects, not strings 2014-01-27 13:40:10 -08:00
Max Brunsfeld
b85b15db42 Refactor extract tokens function 2014-01-24 23:41:43 -08:00
Max Brunsfeld
67fa81d079 Convert repeat rules into pairs of recursive rules 2014-01-24 18:27:29 -08:00
Max Brunsfeld
8208aae060 Fix transitions for sequences whose left side can be blank 2014-01-23 23:56:37 -08:00
Max Brunsfeld
5776846227 Make compile take a name argument
Start work on JSON fixture grammar
2014-01-23 13:48:07 -08:00
Max Brunsfeld
432e97e063 Improve parser runtime specs 2014-01-23 13:00:08 -08:00
Max Brunsfeld
8a317f6918 Manage lookahead symbol correctly after a reduction 2014-01-22 23:04:29 -08:00
Max Brunsfeld
023a0c4f70 Fix a spec 2014-01-11 13:41:31 -08:00
Max Brunsfeld
2894ad7447 Improve parser error messages 2014-01-09 13:31:30 -08:00
Max Brunsfeld
55809f702d Add parser error messages 2014-01-08 18:35:16 -08:00
Max Brunsfeld
614e497ac4 Start building AST in parser 2014-01-07 21:50:32 -08:00
Max Brunsfeld
d027aa5af6 Switch specs to use bandit instead of igloo 2013-12-28 16:55:51 -08:00
Max Brunsfeld
3417ad5adb Add runtime specs 2013-12-17 13:14:41 -08:00