Flex and Bison

I am writing a compiler/interpreter to run in an embedded microcomputer. I am considering using flex/bison. The user's program will already be in ram when the parser is called. How do I modify the generated code to read from ram instead of from a file? I have not generated any c code from flex/bison so I do not know if I can modify the get character routines or how ever they get the input for the scanner. Any ideas/direction would be greatly appreciated. Thank you. Alvin...
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!