| > mixing lexing and parsing is a bad idea Why exactly? I find it rather liberating to mix lexing and parsing, for any possible language. > show me some languages like C, Java, Python, etc. expressed as PEGs. Feel free to browse my github repos, username 'combinatorylogic'. There is a lot of parsers in PEG, including C and Verilog. One of the very good reasons to do such a mix is to be able to have nested comments (which rules out regular expressions). > I don't see them being deployed widely Do you see any new languages deployed widely? Inertia is very strong here. > Several of your other points are wrong, but I'll leave it at that. Mind elaborating? All my points are based on years of practice in writing parsers for all languages imaginable. |