4 ms·
I've been using an LALR(1) parser generator by Paul Mann http://highperware.com/ http://highperware.com/ which gets around this context sensitivity problem. I'v
by wbhart 16y ago
I've been using an LALR(1) parser generator by Paul Mann http://highperware.com/ http://highperware.com/ which gets around this context sensitivity problem. I've had to hack it a bit to handle scopes, but this wasn't a major problem.
It generates an amazing lexer/parser, which can do something like a million lines of code a second. But he hasn't open sourced the parser generator nor ported it from Windows. I've been trying to convince him to do so, and he came oh so close recently.
He's been trying to figure out how to make money from it if he Open Sources it. As it is, everyone seems to be totally ignoring it despite its sophistication compared with flex/bison.