|yacc w/ coroutines (reentrant parser)? firstname.lastname@example.org (1996-05-13)|
|From:||email@example.com (Jin Choi)|
|Date:||13 May 1996 14:21:11 -0400|
|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]
Return to the
Search the comp.compilers archives again.