|RE: flex code memory usage firstname.lastname@example.org (RERA) (2004-02-04)|
|Re: flex code memory usage ChrisIsbell@voila.fr (Chris Isbell) (2004-02-08)|
|Date:||4 Feb 2004 21:43:40 -0500|
|Posted-Date:||04 Feb 2004 21:43:40 EST|
>>I'm trying to use flex generated code on a embedded system. I have to
>>take care about not using too much heap, because the memory of this
>>system is very small.
Using flex for a embedded system :O. I don't think it's a better
idea. Is your embedded product that complex? What does your chip
Hand written lexer/parser will be a better idea.
>>I've seen that flex doesn't clean up very well (in my opinion), so my
>>question is: is there any way to tell flex not to waste heap? Maybe I
>>should use yy_delete_buffer?
If you do not clear memory will the product be fool proof? Will there
be side effects?
Return to the
Search the comp.compilers archives again.