yacc w/ coroutines (reentrant parser)?

jsc@kalypso.cybercom.net (Jin Choi)
13 May 1996 14:21:11 -0400

          From comp.compilers

Related articles
yacc w/ coroutines (reentrant parser)? jsc@kalypso.cybercom.net (1996-05-13)
| List of all articles for this month |
From: jsc@kalypso.cybercom.net (Jin Choi)
Newsgroups: comp.compilers
Date: 13 May 1996 14:21:11 -0400
Organization: Archetype, Inc.
Keywords: yacc, parallel, question

I have a situation where I would like to parse a file incrementally in
semantic chunks interspersed with processing. It would be a ton of
work to rework things so that the processing could take place as
callbacks from within the parser. Ideally, I would implement the
parser as a coroutine, but this is C++ and a yacc generated parser.
Does anyone know of any tricks to do this sort of thing?


[You might try one of the many software threads packages lying around, one of
them might do the trick. -John]


--


Post a followup to this message

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