Related articles |
---|
Thread Safe Lexer and Parser? aaron0@netcom.com (1995-07-27) |
Re: Thread Safe Lexer and Parser? stefan.monnier@epfl.ch (Stefan Monnier) (1995-08-02) |
Re: Thread Safe Lexer and Parser? aaron0@netcom.com (1995-08-02) |
Re: Thread Safe Lexer and Parser? johnm@soda.CSUA.Berkeley.EDU (1995-08-02) |
Re: Thread Safe Lexer and Parser? parrt@lonewolf.parr-research.com (1995-08-06) |
Newsgroups: | comp.compilers |
From: | parrt@lonewolf.parr-research.com (Terence John Parr) |
Keywords: | PCCTS, parallel |
Organization: | Parr Research Corporation |
References: | 95-08-013 |
Date: | Sun, 6 Aug 1995 00:52:27 GMT |
Aaron, just Aaron (aaron0@netcom.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).
Terence
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.