Kernighan and Pike's book 'The unix programming environment'
has an exercise where you build an interpreter called 'HOC'.
Good book, well worth the read.

Kevin

Juan Carlos Gil Montoro <jcgil@gmv.es> wrote:
|What is the best strategy to implement an interpreter for a custom
|language?. I've done compilers and translators, but the mechanics of
|an interpreter (storing the interpreter state, in particular) puzzles
|me.