Commit graph

16 commits

Author SHA1 Message Date
Sven M. Hallberg
caf00006f3 add iterative API to LALR backend 2015-09-16 23:43:30 +02:00
Sven M. Hallberg
ff55937e00 split out h_pprint_lr_info for debugging purposes 2015-09-16 23:42:18 +02:00
Sven M. Hallberg
67681a119a finish engine merging 2013-06-22 17:40:47 +02:00
Sven M. Hallberg
23afea4b4e add demerge code path (untested) 2013-06-22 14:21:19 +02:00
Sven M. Hallberg
bf9c9b5f7a refactoring in preparation for engine merging 2013-06-22 12:51:25 +02:00
Sven M. Hallberg
8bc3b93e95 correctly use augmented grammar for test_glr() output 2013-06-21 23:53:47 +02:00
Sven M. Hallberg
853e1fba46 split LR table representation by key type (terminals/nonterminals) 2013-06-21 22:55:04 +02:00
Sven M. Hallberg
d67e12a825 better factor out lr table writes 2013-06-21 20:52:27 +02:00
Sven M. Hallberg
c32cf709b2 eliminate the right stack; work with the HInputStream directly 2013-06-21 20:11:19 +02:00
Sven M. Hallberg
ec88580b22 make h_lrengine_step a void function again 2013-06-21 18:46:16 +02:00
Sven M. Hallberg
b1e8e29774 add engine forking 2013-06-20 11:05:57 +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
54ba62bfb7 record conflicts in a special HLRAction type 2013-06-19 17:01:13 +02:00
Sven M. Hallberg
168760b10a return running state from h_lrengine_step 2013-06-19 14:16:34 +02:00
Sven M. Hallberg
409d33c916 split out h_lrengine_action() 2013-06-19 14:09:39 +02:00
Sven M. Hallberg
129d50c0ef split LR code into lr.c, lr0.c, and lalr.c 2013-06-17 20:08:25 +02:00