2 ms·
> It is straightforward to write a fast parser generator for languages that require just one character of lookahead... Then you get VHDL. https://news.ycombin
by thesz 2y ago
> It is straightforward to write a fast parser generator for languages that require just one character of lookahead...
Then you get VHDL.
https://news.ycombinator.com/item?id=15017974 https://news.ycombinator.com/item?id=15017974
You need (at least an approximation to) the symbol table for correct lexing.
Or Postgres/MariaDB's SQL with the the DELIMITER statement that can change semicolon to something else.