Commit graph

71 commits

Author SHA1 Message Date
6fb60a7201 generator: detect LR(0) conflicts 2015-04-06 00:22:44 +02:00
696d94d796 lex: handle preprocesser directives embedded into code blocks 2015-04-05 19:17:24 +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
18f88fc863 lex: remove old comment 2015-04-04 20:39:24 +02:00
61c3aa15c3 Add simple output generator 2015-04-02 11:52:05 +02:00
ab2d315aa2 generator: remove printing, add some getters 2015-04-02 01:43:43 +02:00
531a4de1fc generator: split different actions into different maps 2015-04-01 02:42:54 +02:00
3f1b701ad1 generator: add actions and gotos for LR(0) parsers 2015-03-31 23:40:44 +02:00
342f927aac generator: generate transitions 2015-03-31 20:46:33 +02:00
03b5a87eeb generator: generate item sets recursively 2015-03-31 20:25:04 +02:00
129b81e093 generator: add methods to generate closed item sets 2015-03-31 18:38:59 +02:00
8b94b9cf2c solar: use grammar file from command line 2015-03-31 18:33:28 +02:00
8e7ce62c20 lex, parser: fix a few numbers ;) 2015-03-31 04:34:44 +02:00
a0cc8fcb08 parser: rename token_t and value_t to parser_token_t and parser_value_t 2015-03-31 04:25:38 +02:00
8b707351c7 Add generator_t 2015-03-31 04:09:03 +02:00
679aa45884 Rename state_t to parser_state_t 2015-03-31 00:04:32 +02:00
63640911b9 Don't create items with point at end 2015-03-31 00:01:18 +02:00
8de90acc67 Generate items from grammar 2015-03-27 03:55:26 +01:00
09972613c4 Some initial work 2015-03-25 23:52:08 +01:00