Hi,
I am interested in learning more about creating my own compiler. I can do the following.

1. I can parse a test file that contains commands, keywords or script.
2. I can convert these parsed lines to assembler code. Meaning, I can take an expression such as CLS or clear(); and convert it to something like MOV AX,600.....etc.
3. I can take each of these lines in assembler and build the appropriate machine code expressions and dump them into a binary file with a COM extension.

I learned most of this with DEBUG and QBASIC.

So, am I on the right track to creating a simple compiler (I have no ambition at creating a monster)? Are there online resources that would guide me to create a compiler in VB or C++?

My interest is in taking an AI program and allowing the program to modify itself by adding executable code...You can read about our AI efforts and discussion in the Games and Graphics forum.

Any info would be appreciated.

Regards,
ChuckB