Sven M. Hallberg
|
cbd50ec4c3
|
temp commit some debugging stuff for posterity
|
2013-05-24 22:39:32 +02:00 |
|
Sven M. Hallberg
|
de4b21757e
|
make sure h_string_update copies its subtrees
|
2013-05-24 22:38:14 +02:00 |
|
Sven M. Hallberg
|
3047fd223b
|
let h_hashtable_merge's combine function decide what to do on NULL dst values
|
2013-05-24 22:29:33 +02:00 |
|
Meredith L. Patterson
|
c8dba54bb4
|
More LL(k) fixes (Merge branch 'LL' of https://github.com/pesco/hammer)
|
2013-05-24 06:11:44 -07:00 |
|
Meredith L. Patterson
|
cb6e7f4229
|
Regex all works now! (Merge branch 'master' of https://github.com/thequux/hammer)
|
2013-05-24 06:09:21 -07:00 |
|
Dan Hirsch
|
d71215d494
|
All tests pass; lots of stuff is no longer const
|
2013-05-24 15:07:47 +02:00 |
|
Sven M. Hallberg
|
e4984fe60c
|
add an assertion that catches the infinite loop
|
2013-05-24 14:08:13 +02:00 |
|
Dan Hirsch
|
b9a33f2c98
|
More testcases work
|
2013-05-24 12:22:15 +02:00 |
|
Sven M. Hallberg
|
bd9f9293c1
|
why does this (test_llk) segfault!? driver goes into a loop.
|
2013-05-24 04:33:27 +02:00 |
|
Sven M. Hallberg
|
c6d3bc7fd5
|
let h_stringmap_get_char return the proper type
|
2013-05-24 04:32:14 +02:00 |
|
Sven M. Hallberg
|
81e0ffed1d
|
remove an erroneous assert that snuck into reshape_optional
|
2013-05-24 04:31:33 +02:00 |
|
Meredith L. Patterson
|
23b2be3025
|
Remove dladdr (Merge branch 'master' of https://github.com/thequux/hammer)
|
2013-05-23 17:56:36 -07:00 |
|
Dan Hirsch
|
c1b7d9307d
|
On second thought, let's not use dladdr. It's a silly extension.
|
2013-05-24 02:56:14 +02:00 |
|
Meredith L. Patterson
|
6cc6e7b572
|
Merge tq's regex backend fixes (branch 'master' of https://github.com/thequux/hammer)
|
2013-05-23 17:51:56 -07:00 |
|
Dan Hirsch
|
de38f7bce8
|
Got more regex tests passing
|
2013-05-24 02:50:05 +02:00 |
|
Sven M. Hallberg
|
8da48913b1
|
don't extend table entries that are already unambiguous
|
2013-05-24 02:07:31 +02:00 |
|
Sven M. Hallberg
|
428636f3d0
|
h_predict for k>1, more debugging
|
2013-05-24 01:31:56 +02:00 |
|
Sven M. Hallberg
|
748845ca0c
|
add API for pretty-printing for grammar symbols and symbol sequences
|
2013-05-23 23:35:10 +02:00 |
|
Dan Hirsch
|
0600440b7c
|
Got a lot of regex test cases working
|
2013-05-23 23:27:07 +02:00 |
|
Sven M. Hallberg
|
f6983a5041
|
debug table generation
|
2013-05-23 23:25:32 +02:00 |
|
Sven M. Hallberg
|
4c5ca5ceab
|
clean up a bit
|
2013-05-23 22:54:49 +02:00 |
|
Sven M. Hallberg
|
faebe355a8
|
fix h_stringmap_replace for the all-values case
|
2013-05-23 22:53:45 +02:00 |
|
Sven M. Hallberg
|
e5ee61029c
|
herp-a-derp, that wasn't actually done - still bugged, though
|
2013-05-23 22:19:13 +02:00 |
|
Sven M. Hallberg
|
5e3c681dbc
|
generalize most of llk.c to arbitrary k (ex. h_predict) - still bugged
|
2013-05-23 21:01:37 +02:00 |
|
Sven M. Hallberg
|
3ff32e86e4
|
make dummy example require LL(2)
|
2013-05-23 14:42:43 +02:00 |
|
Sven M. Hallberg
|
d789d90017
|
fix comma-separation some more in h_pprint_stringset
|
2013-05-23 14:42:16 +02:00 |
|
Sven M. Hallberg
|
9112452709
|
fix incorrect usage of h_stringset_put_char in stringset_extend
|
2013-05-23 14:19:37 +02:00 |
|
Sven M. Hallberg
|
859f7e3990
|
Merge branch 'master' of github.com:abiggerhammer/hammer into LL
|
2013-05-23 12:40:30 +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 |
|
Sven M. Hallberg
|
0b98b19ef0
|
Merge remote-tracking branch 'mlp/master' into LL
|
2013-05-23 11:58:05 +02:00 |
|
Sven M. Hallberg
|
7a681faeeb
|
remove a dead line
|
2013-05-23 11:57:46 +02:00 |
|
Meredith L. Patterson
|
3978266651
|
further merging of pesco's and aegis' changes
|
2013-05-23 02:16:52 -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
|
2c8d76d7ea
|
refactor and bughunt unsuccessfully trying to find out why
h_first(2, ...) won't give me length-2 strings
|
2013-05-22 22:45:25 +02:00 |
|
Sven M. Hallberg
|
289c57aef5
|
h_stringmap_update wasn't merging results correctly
|
2013-05-22 21:58:34 +02:00 |
|
Sven M. Hallberg
|
e4d0b636dd
|
add h_hashtable_merge function
|
2013-05-22 21:57:46 +02:00 |
|
Sven M. Hallberg
|
194ddee90b
|
generalize grammar data structure allocation to k>1
|
2013-05-22 21:10:47 +02:00 |
|
Sven M. Hallberg
|
46525ede2d
|
remove some left-over dead code that I think is bullshit
|
2013-05-22 20:51:23 +02:00 |
|
Sven M. Hallberg
|
475d0ea9f3
|
comma-separate properly in h_pprint_stringset
|
2013-05-22 20:49:05 +02:00 |
|
Sven M. Hallberg
|
f5d5c36756
|
generalize grammar analysis to k>1
|
2013-05-22 20:38:36 +02:00 |
|
Sven M. Hallberg
|
337cbc2695
|
ugh, forgot to commit actions.c!
|
2013-05-22 12:20:44 +02:00 |
|
Sven M. Hallberg
|
3d3bd39d36
|
add Session.vim to gitignore
|
2013-05-22 12:20:22 +02:00 |
|
Sven M. Hallberg
|
91c04314a4
|
refactor h_llk_lookup to take the input stream as argument
|
2013-05-20 21:28:16 +02:00 |
|
Sven M. Hallberg
|
fb3aae7aec
|
fix free of previous backend data
|
2013-05-20 17:10:38 +02:00 |
|
Sven M. Hallberg
|
1afef6c3d2
|
reshape for h_attr_bool
|
2013-05-20 16:59:38 +02:00 |
|
Sven M. Hallberg
|
f48903d85e
|
reshape for h_ignore
|
2013-05-20 16:31:37 +02:00 |
|
Sven M. Hallberg
|
a42d97f053
|
fix desugar_optional
|
2013-05-20 16:25:42 +02:00 |
|