I am in the process of writing my own scripting language that relys on the
conventions of BASIC. My goal is to be able to parse a BASIC file syntax
and be able to take the parsed content and generate a BYTECODE/stack input
file for a stack-based virtual machine.
So far FLEX/BISON parse my BASIC syntax correctly; however it does not
create any type of symbol tables, etc which I can use to generate the
bytecode with. All it does is reports a syntax error if one is detected
either from STDIN or the input file.
Is anyone here familiar with BISON/FLEX enough to where you could lend
some
help on what the next steps are in order to generate the bytecode stack
file?
Thanks
-cc-