I have a game in VB6, and it works fine and that’s it, but I played with the idea of creating a script engine. I think I would like VB6 to read the script in text files for me, and then lex / parse / execute them.
I have good programming experience and I have already created a simple C compiler as well as a LOGO emulator.
My question is: Are there any tools that I can use, such as Lexx / Yakk / Bison, to help me? How do I approach this issue regarding lexing, parsing, and issuing commands back to VB6 so that I can handle them? Is this BAD IDEA idea in the sense that there are too many obstacles in the way (for example, creating a minesweeper in an assembly, although not impossible, is a very difficult and bad idea.)?
source
share