|Thread safe lexical scanner generator firstname.lastname@example.org (1998-04-13)|
|Re: Thread safe lexical scanner generator email@example.com (1998-04-15)|
|From:||firstname.lastname@example.org (Patrick TJ McPhee)|
|Date:||15 Apr 1998 23:25:49 -0400|
|Organization:||Crampton Vinegar Works|
% Before I try to hand craft a lexical scanner, just wondering, is there
% any lexical scanner generator that I can use in a multi-threaded
% program (for example, two thread lexical scanning at the same time)?
I believe that the current version of flex has an option to generate
re-entrant scanners. I have version 2.4, which is quite old, on this
machine, and the man page says the -+ option, which generates C++
classes instead of a call to yylex, is fully re-entrant.
Patrick TJ McPhee
East York Canada
Return to the
Search the comp.compilers archives again.