Commit graph

15 commits

Author SHA1 Message Date
Dan Hirsch
ec404ca8fe Refactored all of the desugaring code to no longer depend on memory being initialized to 0. Everything is about 12% faster now. 2013-05-25 03:35:42 +02: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
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
29cee318f9 move the h_act_* functions to src/actions.c 2013-05-20 14:58:20 +02:00
Sven M. Hallberg
31256ba867 reshape for h_left and friends 2013-05-20 14:44:18 +02:00
Sven M. Hallberg
c794be5b6f consider HCF_CHARSET terminal symbols (as the LL driver already treats them) 2013-05-14 16:15:58 +02:00
Sven M. Hallberg
4138506273 unwrap (reshape) singleton terminal symbols correctly 2013-05-14 14:14:31 +02:00
Sven M. Hallberg
b488e5485f always put end_token in the start symbol's follow set 2013-05-12 16:51:35 +02:00
Sven M. Hallberg
9f5c32e205 add h_cfgrammar_free() 2013-05-08 18:02:35 +02:00
Sven M. Hallberg
66b0ed7bf1 move h_eq_ptr and h_hash_ptr into datastructures.c / internal.h 2013-05-08 15:54:29 +02:00
Sven M. Hallberg
188d369a9b move grammar analysis stuff to its own files 2013-05-07 23:56:47 +02:00