Lex and Yacc without Dynamic Memory Allocation

I'm in the process of designing software to run in an embedded environment where the use of dynamic memory is prohibited. Lex and Yacc are well suited for the application.

Can I configure Lex and Yacc to not use dynamic memory allocation at all?

Can I configure Lex and Yacc to use a predefined block of memory and therefor limit dynamic memory usage to that predefined space?

Can I limit the use of dynamic memory to program initialization only (i.e. when the program first runs)?

edit: In response to TonyK, I want the parser to not use dynamic memory.

Thank you

6
задан indiv 13 January 2011 в 02:43
поделиться