|Thread Safe Lexer and Parser? firstname.lastname@example.org (1995-07-27)|
|Re: Thread Safe Lexer and Parser? email@example.com (Stefan Monnier) (1995-08-02)|
|Re: Thread Safe Lexer and Parser? firstname.lastname@example.org (1995-08-02)|
|Re: Thread Safe Lexer and Parser? johnm@soda.CSUA.Berkeley.EDU (1995-08-02)|
|Re: Thread Safe Lexer and Parser? email@example.com (1995-08-06)|
|From:||firstname.lastname@example.org (Terence John Parr)|
|Organization:||Parr Research Corporation|
|Date:||Sun, 6 Aug 1995 00:52:27 GMT|
Aaron, just Aaron (email@example.com) wrote:
: ? Are there thread safe scanner and parser generators other than lex and
: yacc available?
Sure. No trouble. Check out PCCTS (ANTLR parser generator, DLG lexer
generator, and SORCERER tree-parser generator). In C++ mode, all
parsers/lexers are completely self-contained objects that should be
thread safe (e.g., there are no globals to get clobbered). I regularly
create parsers as local variables in my grammar rules to handle include
files and such.
See ftp://ftp.parr-research.com/pub/pccts/* and comp.compilers.tools.pccts
for more info.
BTW, I believe YACC++ can do the same thing...very OO (costs though).
Return to the
Search the comp.compilers archives again.