Commit graph

21 commits

Author SHA1 Message Date
42f74c83bf Add support for destructors 2015-04-11 03:00:00 +02:00
0f3c53fb63 output: de-duplicate token value pushing 2015-04-11 00:09:33 +02:00
c7038d65b9 output: also collapse goto case branches 2015-04-10 23:22:12 +02:00
0e9b564f8c output: rename i argument to state 2015-04-10 22:00:34 +02:00
aeaeba2d73 Add support for escape sequences in character symbols 2015-04-10 19:10:17 +02:00
7a14a8ec2f Split output_lr0_t out of output_t 2015-04-10 03:22:57 +02:00
35c02202fd generator: move LR(0)-specific code to generator_lr0_t 2015-04-09 19:14:14 +02:00
7a65ee0c61 Introduce rule_t and grammar_t 2015-04-09 04:46:39 +02:00
031fdb010e output: close output files 2015-04-09 04:00:05 +02:00
923ce33be1 output: correctly initialize parser state 2015-04-09 03:58:50 +02:00
59258d1f71 Add support for extra arguments 2015-04-09 03:31:20 +02:00
80abbf2be2 Emit alloc and free functions 2015-04-09 01:37:18 +02:00
9c990ae801 Allow adding source blocks to the top the of header and source files 2015-04-08 23:49:42 +02:00
7b8ebfcef1 Don't use map::emplace
It doesn't work with GCC 4.7...
2015-04-06 21:16:13 +02:00
1bb22babd9 output: emit include statement for header 2015-04-06 20:34:12 +02:00
fda24d9c22 Set output files from command line 2015-04-06 20:13:36 +02:00
d6deff997e Implement a lot of symbol value support 2015-04-06 18:50:03 +02:00
a4c2f94f8b output: make reduce actions static inline 2015-04-05 02:39:47 +02:00
9154865ac3 output: fix emission of terminal case conditions 2015-04-05 02:37:25 +02:00
96dd0ebd26 Add support for simple reduce actions 2015-04-05 02:28:52 +02:00
61c3aa15c3 Add simple output generator 2015-04-02 11:52:05 +02:00