help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread expierence with bison


From: John
Subject: Re: Thread expierence with bison
Date: Wed, 23 Apr 2003 03:45:00 -0400 (EDT)

> What are your experiences with a flex/bison built scanner/parser
> (threads/processes, longlevity, RAM consumption ...) ?  Where are
> pitfalls ?

The latest flex can generate a thread-safe scanner (%option reentrant)
and even unload the large DFA tables when you're done scanning. Bison
can generate a thread-safe parser (%pure). One pitfall is that you
have to hand over the flow-control of your program to the flex and
bison-generated code, which operates in the form of callback blocks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]