While I don't have any experience with them myself (the only scripting language I wrote, I wrote the parser, pseudo-code compiler, interpreter at al from scratch), learning the tools Yacc and Bison might help with some of the chores and save you from some grudge work. Having done this before I would like to ask: have you documented or at least specified your language API yet or are you just sort of generally in love with the idea of writing a scripted language interpreter? I ask because unless you have done the former, the latter will be pretty difficult to make and not be a brittle program...