Commit graph

18 commits

Author SHA1 Message Date
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
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
7a681faeeb remove a dead line 2013-05-23 11:57:46 +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