This is aimed at the GPC team and anybody who knows about compiler/interpreter writing.
I want to include a script interpreter into my game programming lib which will compile the plain-text script source into a platform independant virtual machine, I also want to write the interpreter using OOP, so I don't know if Lex/Yacc will help with this (BTW, does anyone know where I can find Lex/Yacc for Pascal that allows *commercial* use? Lex/Yacc itself won't be part of the libs, but the code it generates will), any tips are appreciated. The main things I'm confused about is about everything, the syntax checking phase (scanning?), parsing, and executing.
Thanks in advance!
See ya! Orlando Llanes
"Hey, we all did the drug thing, we all did the money thing, and eventually you find out that none of that stuff fixes anything, and we have nowhere else to go except to evolve spiritually and intellectually" -- Meredith Brooks
"Look out fo' flyeeng feet" O__/ a010111t@bc.seflin.org /|____. O <__. /> / \ ____________|_________ http://ourworld.compuserve.com/homepages/Monkey414