|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:||johnm@soda.CSUA.Berkeley.EDU (John D. Mitchell)|
|Keywords:||lex, yacc, parallel, PCCTS|
|Organization:||Computer Science Undergrad Assoc., Univ. of Calif. Berkeley|
|Date:||Wed, 2 Aug 1995 19:02:29 GMT|
Aaron, just Aaron <firstname.lastname@example.org> 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
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
Return to the
Search the comp.compilers archives again.