Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Compiler > Bison/Flex BASI...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 77 of 149
Post > Topic >>

Bison/Flex BASIC Compiler

by chris.cranford@[EMAIL PROTECTED] (Chris Cranford) Apr 14, 2004 at 10:33 PM

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-




 1 Posts in Topic:
Bison/Flex BASIC Compiler
chris.cranford@[EMAIL PRO  2004-04-14 22:33:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 12:46:21 CDT 2008.