Commit graph

16 commits

Author SHA1 Message Date
Sven M. Hallberg
ddfd3796a7 why not include the lhs in pretty-printed reduce entries? 2013-06-12 16:48:59 +02:00
Sven M. Hallberg
4b5a936667 handle charsets 2013-06-12 16:38:50 +02:00
Sven M. Hallberg
41d4be4b84 avoid a segfault on getting the token position 2013-06-12 15:54:46 +02:00
Sven M. Hallberg
ce387d81b6 save production rhs in reduce actions for pretty-printing if not compiled NDEBUG 2013-06-12 15:48:52 +02:00
Sven M. Hallberg
805dfeb363 duh, forgot to record the start symbol in table 2013-06-12 15:33:53 +02:00
Sven M. Hallberg
0a7548bb2f lr driver, first stab (still bugged) 2013-06-12 15:07:19 +02:00
Sven M. Hallberg
bbdced376e derps etc 2013-06-11 01:12:25 +02:00
Sven M. Hallberg
04487ff80f add table pretty-printer 2013-06-10 23:45:25 +02:00
Sven M. Hallberg
4cd51b8953 make it compile and fix some basic segfaults 2013-06-10 22:05:12 +02:00
Sven M. Hallberg
dabe4b07a9 wip end-of-day commit - almost there (untested) 2013-06-10 00:46:03 +02:00
Sven M. Hallberg
3bb26162c3 end-of-day scratch commit (LALR table generation) 2013-06-07 22:39:09 +02:00
Sven M. Hallberg
732545274a look up neighbor set index properly (was left uninitialized) 2013-06-07 16:55:36 +02:00
Sven M. Hallberg
67e5b2fee0 add DFA pretty-printer 2013-06-07 16:44:07 +02:00
Sven M. Hallberg
43fc07e67b add construction of LR(0) automaton (untested) 2013-06-07 13:47:00 +02:00
Sven M. Hallberg
167e187151 scratch commit of LALR preparations (breaks compile) 2013-06-06 13:05:48 +02:00
Sven M. Hallberg
976205f9da hook up LALR backend stub 2013-06-04 22:14:06 +02:00