Then looking at Higher Order Perl is a good start. It should teach you a simple technique how to write a parser (and interpreter/compiler) for any language. As you chose your language to be very simple to parse, you should be ready to write the parser/compiler for it after having worked through the examples/tasks in the book.
|