Related articles |
---|
RE: flex code memory usage rajaram@acmet.com (RERA) (2004-02-04) |
Re: flex code memory usage ChrisIsbell@voila.fr (Chris Isbell) (2004-02-08) |
From: | "RERA" <rajaram@acmet.com> |
Newsgroups: | comp.compilers |
Date: | 4 Feb 2004 21:43:40 -0500 |
Organization: | Compilers Central |
Keywords: | lex |
Posted-Date: | 04 Feb 2004 21:43:40 EST |
Hi!
>>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
support ?
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?
RERA
Return to the
comp.compilers page.
Search the
comp.compilers archives again.