Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Lemon Parser Generator.
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
$ wc src/parser.c 2200 10090 78282 src/parser.c
re2c for tokenizing, and lemon for parsing =
There are no comments on this comment yet.
Lemon produces this report for my grammar:
It generates a parser that seems to be a reasonable size: I've tried a few other parser generators, lemon was my favourite.re2c for tokenizing, and lemon for parsing =