Programming a code interpretter

by Unknown

Back to The Real World.

Unknown2006-05-07 03:12:26
Anyone know of any good tutorials for making a code interpreter in c++, or know how to do it? I'm not finding much documentation out there (other than books I cannot buy), althought I'm sure I'm just looking in the wrong places. Any help would be appreciated. Thanks.
Verithrax2006-05-07 15:28:26
Just implement Lua, Tcl, Perl or Python as built-in interpreters. Look at the appropriate documentation on the official websites for each language.
Deas2006-05-09 08:49:50
If you want to make your own then you can check gamedev.net and gamedev.com, I recall seeing few tutorials there. Also theres a set of tutorials floating around about building a pascal compiler from scratch which also can help.

If you're serious about comp/inter building then i would suggest the dragon book, which is awesome.
Unknown2006-05-09 19:16:28
oops