|Threaded bison parsers? email@example.com (Sigrist, Pierre) (2001-05-18)|
|Re: Threaded bison parsers? firstname.lastname@example.org (Martin von Loewis) (2001-05-30)|
|From:||"Sigrist, Pierre" <email@example.com>|
|Date:||18 May 2001 23:50:12 -0400|
|Keywords:||parse, yacc, parallel, question|
|Posted-Date:||18 May 2001 23:50:12 EDT|
I'm currently developping a parser using Flex and Bison, and I have some
problems in a multi-threading environment.
I would like to generate a re-entrant parse (using the %pure_parser
directive) and specify as an argument of yyparse(), the string to be parsed
by Bison and Flex in order to build a thread-safe library.
The documentation related to that tools is quiet poor and suffer of a lack
of code samples, especially how to use the YY_DECL, YYPARSE_PARAM and
Could please provide some clues/documentation/web sites/code samples which
explain how to achieve to such a re-reentrant component.
Many thanks in advance.
Return to the
Search the comp.compilers archives again.