Thread Safe Lexer and Parser?

aaron0@netcom.com (Aaron, just Aaron)
Thu, 27 Jul 1995 20:22:44 GMT

          From comp.compilers

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)
| List of all articles for this month |

Newsgroups: comp.compilers
From: aaron0@netcom.com (Aaron, just Aaron)
Keywords: lex, yacc, parallel, question
Organization: Netcom, from Boulder CO or thereabouts
Date: Thu, 27 Jul 1995 20:22:44 GMT

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.


  I don't want to do this by editing source
  code and creating object files, since I don't know how many input streams
  I'll need to scan at any one time. I need to do this on the fly, during
  execution.


? Is there a maintainable way to alter the scanner and parser generated by
lex and yacc, to accomplish my goal?


or


? Are there thread-safe versions of lex and yacc available?


or


? Are there thread safe scanner and parser generators other than lex and
yacc available?


I didn't see any such in the catalog.


--
Aaron, just Aaron http://www.acm.org/~AARON/homepage.html |
______________________________________________ | personal: aaron@acm.org |
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.