Subj : Re: How-to on writing an interpreter? To : comp.programming From : CBFalconer Date : Sat Jul 16 2005 05:47 am "C. Rebert" wrote: > > I'm trying to implement an interpreter for a programming language, > but so far haven't been able to find any good materials on how to > write a simple stack-based interpreter. I would appreciate it if > someone could point me to some resources on writing such an > interpreter. I'd be open to buying such materials, as long as > they aren't ludicrously expensive. Reminds me of the recipe for rabbit stew. It begins: 1. First, catch your rabbit. and here the rabbit is the language definition. Kernighan & Pikes discussion of small languages in "The Practice of Programming" may be instructive. -- "If you want to post a followup via groups.google.com, don't use the broken "Reply" link at the bottom of the article. Click on "show options" at the top of the article, then click on the "Reply" at the bottom of the article headers." - Keith Thompson .