You aren't signed in     Sign In    Help

The original metacircular evaluator

The original metacircular evaluator by raganwald.
Page 13 of the Lisp 1.5 Programmer's Manual, showing the 'evalquote' function written as an m-expr. Basically, you're looking at all of Lisp defined in terms of itself

Comments

view profile

raganwald  Pro User  says:

Yes, that was the big revelation to me when I was in graduate school—when I finally understood that the half page of code on the bottom of page 13 of the Lisp 1.5 manual was Lisp in itself. These were “Maxwell’s Equations of Software!” This is the whole world of programming in a few lines that I can put my hand over.

Alan Kay
Posted 41 months ago. ( permalink )

view profile

sketerpot says:

Actually, McCarthy's original Lisp paper in 1960 predates the Lisp 1.5 manual, which was put out in 1962. It contains a metacircular evaluator.
Posted 41 months ago. ( permalink )

view profile

raganwald  Pro User  says:

McCarthy's original Lisp paper in 1960 predates the Lisp 1.5 manual

Excellent point! Thanks.
Posted 41 months ago. ( permalink )

view profile

khunyee_fung says:

Our professor gave us this definition and three weeks to implement a Lisp interpreter in C (on a Dec10; that shows my age, eh?). My group, Tim and I, slept about 3 hours every day for that three weeks. The apply function is the tough one; eval is easy.
Posted 38 months ago. ( permalink )

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

[?]
view photos Uploaded on August 11, 2006
by raganwald

raganwald's photostream

709
uploads

Tags

Additional Information

All rights reserved Anyone can see this photo

Add to your map