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: | johnm@soda.CSUA.Berkeley.EDU (John D. Mitchell) |
Keywords: | lex, yacc, parallel, PCCTS |
Organization: | Computer Science Undergrad Assoc., Univ. of Calif. Berkeley |
References: | 95-08-013 |
Date: | Wed, 2 Aug 1995 19:02:29 GMT |
Aaron, just Aaron <aaron0@netcom.com> wrote:
>This is what I want to do:
> Instantiate, when needed, any number of indepenendent scanners, each with
> its own associated parser. Each scanner and parser would have its own
> tables and state variables.
[...]
>? Are there thread safe scanner and parser generators other than lex and
>yacc available?
This is doable using the Purdue Compiler Construction ToolSet
(PCCTS). You can tell it to generate C++ output with a command line
flag. It builds C++ classes which can be subclassed if you like.
Note that it generates predicated-LL(k) parsers.
Check out the comp.compilers.tools.pccts newsgroup or
ftp://ftp.parr-research.com/pub/pccts/
Take care,
John
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.