Max Brunsfeld
|
8deeff392b
|
Fix memory leak in tree
|
2014-02-26 19:54:22 -08:00 |
|
Max Brunsfeld
|
63718d5bad
|
Add basic support for error recovery
|
2014-02-26 19:03:43 -08:00 |
|
Max Brunsfeld
|
df223d566e
|
Fix bug in parser error handling
|
2014-02-25 18:33:24 -08:00 |
|
Max Brunsfeld
|
e58a6d8ba7
|
Start work on error recovery
- In runtime, make parse errors part of the parse tree
- Add error state to lexers in which they can accept any token
|
2014-02-24 18:42:54 -08:00 |
|
Max Brunsfeld
|
ceee7eefd0
|
Don't store text on documents
|
2014-02-20 18:38:31 -08:00 |
|
Max Brunsfeld
|
6ed6aa05cc
|
Update runtime code naming
Also, add macros so that code generator doesn't
need to know about any runtime variables names
or types
|
2014-02-20 13:30:43 -08:00 |
|
Max Brunsfeld
|
49ad910474
|
Skip whitespace by default in lexer
|
2014-02-19 12:48:38 -08:00 |
|
Max Brunsfeld
|
2c56612650
|
Get makefile working
|
2014-02-18 09:07:00 -08:00 |
|
Max Brunsfeld
|
dbbb446082
|
Reorganize runtime header files
|
2014-02-15 17:00:33 -08:00 |
|
Max Brunsfeld
|
5c1a0982df
|
Change repeat to mean zero-or-more
|
2014-02-15 15:43:32 -08:00 |
|
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 |
|