Max Brunsfeld
|
493db39363
|
Never move the start rule of a grammar into the lexical grammar
This preserves a useful invariant that the root node of the AST is never
a token.
|
2017-12-07 11:50:27 -08:00 |
|
Max Brunsfeld
|
7587353ab6
|
Avoid unicode literals in tests
MSVC tries to normalize them based on the current locale.
|
2017-08-08 17:10:08 -07:00 |
|
Max Brunsfeld
|
947c161c2f
|
Use a constructor rather than aggregate initialization for Production
|
2017-08-08 10:41:54 -07:00 |
|
Max Brunsfeld
|
230f89d0ff
|
Fix build warnings in tests
|
2017-08-07 12:19:10 -07:00 |
|
Max Brunsfeld
|
a22386e408
|
Fix compiler warnings in flatten_grammar_test
|
2017-07-14 10:26:34 -07:00 |
|
Max Brunsfeld
|
7293e6f0cc
|
Fix compile warnings
|
2017-07-12 22:08:36 -07:00 |
|
Max Brunsfeld
|
d8e9d04fe7
|
Add PREC_DYNAMIC rule for resolving runtime ambiguities
|
2017-07-06 15:24:45 -07:00 |
|
Max Brunsfeld
|
cb652239f6
|
Add missing semicolons in flatten_grammar test
|
2017-07-06 12:48:50 -07:00 |
|
Max Brunsfeld
|
ed8fbff175
|
Allow anonymous tokens to be used in grammars' external token lists
|
2017-03-17 16:31:29 -07:00 |
|
Max Brunsfeld
|
b3edd8f749
|
Remove use of shared_ptr in choice, repeat, and seq factories
|
2017-03-17 14:28:13 -07:00 |
|
Max Brunsfeld
|
db4b9ebc7c
|
Implement Rule as a union rather than an abstract base class
|
2017-03-17 13:29:31 -07:00 |
|
Max Brunsfeld
|
6dc0ff359d
|
Rename spec -> test
'Test' is a lot more straightforward of a name.
|
2017-03-09 20:40:01 -08:00 |
|