Meredith L. Patterson
|
2ee82f3ac7
|
Merge branch 'python-bindings' of https://github.com/thequux/hammer into python-bindings
Conflicts:
src/bindings/python/SConscript
src/bindings/python/hammer_tests.py
src/bindings/swig/hammer.i
src/hammer.h
|
2013-11-26 11:25:22 -08:00 |
|
Dan Hirsch
|
69e84bcbb0
|
Added a void* user_data pointer to HPredicate
|
2013-11-23 13:01:55 -06:00 |
|
Dan Hirsch
|
e487d5435c
|
Added a void* user_data pointer to HAction
|
2013-11-23 12:53:11 -06:00 |
|
Meredith L. Patterson
|
ccacccb750
|
Rewrote test_leftrec to mirror test_rightrec. It fails differently for packrat now!
|
2013-11-19 03:31:59 -06:00 |
|
Meredith L. Patterson
|
8681600365
|
working on fixing leftrec for packrat
|
2013-11-19 03:29:44 -06:00 |
|
Dan Hirsch
|
71209dc97b
|
Changed parser test macros so that _parse_ok just checks whether the match succeeded and _parse_match actually checks the resulting parse tree
|
2013-11-01 13:39:37 -04:00 |
|
Meredith L. Patterson
|
0db4925469
|
Revert "C++ tests set up. They probably don't compile; need to write iostream ops for prettyprinting and set up C++ build in scons." Should have branched it.
This reverts commit 6a29277db4.
|
2013-09-03 05:33:30 +02:00 |
|
Meredith L. Patterson
|
6a29277db4
|
C++ tests set up. They probably don't compile; need to write iostream ops for prettyprinting and set up C++ build in scons.
|
2013-09-03 05:32:21 +02:00 |
|
Sven M. Hallberg
|
1e59e461fa
|
make ambiguous test ignore order of precedence
|
2013-06-21 19:58:58 +02:00 |
|
Sven M. Hallberg
|
f5d4ea90da
|
add ambiguous test case for GLR
|
2013-06-20 11:30:30 +02:00 |
|
Sven M. Hallberg
|
55c9a3d9c5
|
add stub GLR backend with h_glr_parse() a copy of h_lr_parse()
|
2013-06-19 17:20:53 +02:00 |
|
Sven M. Hallberg
|
d51e13173a
|
add LALR test suite
|
2013-06-14 17:36:46 +02:00 |
|
Sven M. Hallberg
|
dfe4c3ad47
|
add right-recursion test for packrat and llk
|
2013-06-14 12:42:55 +02:00 |
|
Dan Hirsch
|
d71215d494
|
All tests pass; lots of stuff is no longer const
|
2013-05-24 15:07:47 +02:00 |
|
Meredith L. Patterson
|
f37a13ef41
|
Fixed the 'unknown HCF_CHOICE' problem with indirect; test_leftrec is not an LL(k) test
|
2013-05-23 03:38:22 -07:00 |
|
Meredith L. Patterson
|
1c7e9947a4
|
merging in aegis' JNI bindings
|
2013-05-23 00:58:27 -07:00 |
|
Meredith L. Patterson
|
570c798be7
|
Regex tests too. Only int_range() and nothing() work.
|
2013-05-23 00:16:08 -07:00 |
|
Meredith L. Patterson
|
22b0471050
|
Only LL(k)'s many() and many1(), and benchmark 1, are failing.
|
2013-05-23 00:12:47 -07:00 |
|
Meredith L. Patterson
|
10584ba22a
|
Refactor for separate tests for packrat and LL(k).
|
2013-05-22 23:50:48 -07:00 |
|
Sven M. Hallberg
|
e5300e2836
|
roll the positive cases for int16, int32 back into the existing test
|
2013-05-20 15:26:14 +02:00 |
|
Sven M. Hallberg
|
d081cf4284
|
reshape bits parsers
|
2013-05-14 17:20:05 +02:00 |
|
Meredith L. Patterson
|
5df9db015c
|
h_ch's return type is uint, not bytes; fixed validate_test_ab accordingly, even though it worked before with the wrong union member name (probably because token is the first thing in the struct). Oh C, stay classy.
|
2013-02-20 22:08:05 -05:00 |
|
Meredith L. Patterson
|
31665994f4
|
h_attr_bool didn't have tests implemented. It does now.
|
2013-02-20 22:03:52 -05:00 |
|
Meredith L. Patterson
|
015b82eb0e
|
many, many1, sepBy and sepBy1 were missing some test cases.
|
2013-02-20 21:42:02 -05:00 |
|
Sven M. Hallberg
|
4e3084739e
|
fix expected value of first leftrec test case
|
2013-01-10 01:09:04 +01:00 |
|
Sven M. Hallberg
|
0497cdb08b
|
add trivial left-recursion test case
|
2013-01-10 00:08:07 +01:00 |
|
Sven M. Hallberg
|
2bc03e4e9f
|
allow h_whitespace(p) to succeed on end of input if p succeeds
|
2013-01-09 14:48:02 +01:00 |
|
Meredith L. Patterson
|
de8db18db4
|
Refactored tests; make just builds library, make test builds/runs tests
|
2012-11-13 22:29:25 -05:00 |
|