Hi,
I have a c application (Lex&Yacc based) that parses from stdin. I want
to rewrite the code
a bit to allow reading the source from a char array instead from stdin
without touching the
lex and yacc generated source code.
How could I do that ?
What is about the problem when the buffer is too big to feed the
source to the parser at once ?
Any ideas ?
Thanks, Lothar
I have a c application (Lex&Yacc based) that parses from stdin. I want
to rewrite the code
a bit to allow reading the source from a char array instead from stdin
without touching the
lex and yacc generated source code.
How could I do that ?
What is about the problem when the buffer is too big to feed the
source to the parser at once ?
Any ideas ?
Thanks, Lothar
Comment