writing an interpreter in lisp

From: fra (fznNOSPAM_at_free.fr)
Date: 10/24/03


Date: 24 Oct 2003 14:22:50 +0200

Hello.

I must write an interpreter for a programming language. I am quite
familiar with ML-like programming languages and the obvious thing to
do would be writing it in my favourite ML dialect.

Yet, I'd like to learn LISP, and writing my interpreter in LISP might
be a good way to learn something new. Unfortunately, so many years of
ML programming crippled my mind in such a way that I find thinking in
languages different from ML (or C, buth this is another story) very
difficult.

So, I am writing you to ask pointers and/or references to ``how to
write an interpreter in LISP'' (by this I mean something different
from writing a LISP interpreter in LISP - in particular, the abstract
syntax of my language does not match at all LISP's syntax).

Thank you for your help.

Best wishes,
-francesco



Relevant Pages

  • Re: writing an interpreter in lisp
    ... > I must write an interpreter for a programming language. ... > do would be writing it in my favourite ML dialect. ... > Yet, I'd like to learn LISP, and writing my interpreter in LISP might ...
    (comp.lang.lisp)
  • Re: writing an interpreter in lisp
    ... > I must write an interpreter for a programming language. ... > Yet, I'd like to learn LISP, and writing my interpreter in LISP might ... recursive descent of the AST, something which is very similiar in Lisp ...
    (comp.lang.lisp)
  • Re: writing an interpreter in lisp
    ... >> I must write an interpreter for a programming language. ... >> do would be writing it in my favourite ML dialect. ... >> Yet, I'd like to learn LISP, and writing my interpreter in LISP might ...
    (comp.lang.lisp)
  • Re: A simple interpreter
    ... Writing a Lisp interpreter or syntax extension is clearly much easier ... What do you care about "bias?" ...
    (comp.lang.lisp)
  • Re: A simple interpreter
    ... > Writing an inefficient interpreter like that is going to be minimally ... > easier in Lisp than writing it in any other language that supports data ...
    (comp.lang.lisp)