by 414owen · 4y ago · 0 comments
Lemon produces this report for my grammar:
Parser statistics:
terminal symbols................... 19
non-terminal symbols............... 42
total symbols...................... 61
rules.............................. 75
states............................. 56
conflicts.......................... 0
action table entries............... 377
lookahead table entries............ 379
total table size (bytes)........... 1433
It generates a parser that seems to be a reasonable size: $ wc src/parser.c
2200 10090 78282 src/parser.c
I've tried a few other parser generators, lemon was my favourite.re2c for tokenizing, and lemon for parsing =
No comments yet.