in reply to my own scripting language

You need a parser. And if you do intend to eventually use C for your interpreter/parser/whatever, you'll probably want to use a grammar that's compatible with yacc.

With that in mind, I think you should look at Dominus's py.