Max Brunsfeld
|
299a146b66
|
Balance repetition trees after parsing
|
2018-02-12 11:41:56 -08:00 |
|
Max Brunsfeld
|
6304a3bcd1
|
Make it easier to run tests with debug graphs
|
2017-12-28 12:41:23 -08:00 |
|
Max Brunsfeld
|
90629bd45a
|
Add some assertions to the fixture grammar tests
|
2017-12-07 11:50:27 -08:00 |
|
Max Brunsfeld
|
d342b61ede
|
Re-enable JS fuzzing example test
|
2017-09-14 11:39:08 -07:00 |
|
Phil Turnbull
|
d9a0fbc210
|
Add testcase for parser__advance assertion failure
The python testcase decodes to:
```
00000000 35 63 6f 6e 88 2c 29 33 2c 2c 2c 2c 63 6f 6e 88 |5con.,)3,,,,con.|
00000010 2c 2a 2c 3a 35 63 6f 6e 2c |,*,:5con,|
```
which triggers:
```
Assertion failed: ((uint32_t)0 < (&reduction.slices)->size), function parser__advance, file src/runtime/parser.c, line 1202.
```
|
2017-09-13 13:25:31 -04:00 |
|
Max Brunsfeld
|
0919f5588b
|
Disable fuzzing example test for now
|
2017-08-08 17:35:16 -07:00 |
|
Max Brunsfeld
|
0ba6188bab
|
Construct paths portably in test_grammars.cc
|
2017-08-08 17:25:43 -07:00 |
|
Max Brunsfeld
|
cc7277fd7d
|
Avoid using IsNull bandit assertion
|
2017-08-08 12:52:35 -07:00 |
|
Max Brunsfeld
|
b43ae2826b
|
Use C++ stdlib for random number generation
|
2017-08-08 12:42:49 -07:00 |
|
Max Brunsfeld
|
94dc703bfc
|
Require that grammars' start rules be visible
|
2017-08-04 17:07:37 -07:00 |
|
Max Brunsfeld
|
9a04231ab1
|
Remove length restriction in external scanner serialization API
|
2017-07-17 17:12:36 -07:00 |
|
Max Brunsfeld
|
4b40a1ed6c
|
Support anonymous tokens inside of RENAME rules
|
2017-07-14 10:19:58 -07:00 |
|
Max Brunsfeld
|
d8e9d04fe7
|
Add PREC_DYNAMIC rule for resolving runtime ambiguities
|
2017-07-06 15:24:45 -07:00 |
|
Max Brunsfeld
|
298228d8de
|
Clean up test_grammars file
|
2017-07-05 11:39:33 -07:00 |
|
Max Brunsfeld
|
fcffd4b732
|
Add test for an example found during fuzzing
|
2017-06-30 21:55:50 -07:00 |
|
Max Brunsfeld
|
e19393eff5
|
🎨
|
2017-06-15 17:25:21 -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 |
|