Ok, so I fail at patience.
I gave in and implemented the let construct just so I can run a meta-circular evaluator. It is the code from SICP.
A meta-circular evaluator is an interpreter written in the same language as the one it interprets. This one is a scheme interpreter written in scheme, running under scheme from scratch (minime) :-)
Of particular interest is the fact that the language interpreted by the meta-circular evaluator is richer than the base language it is written in. For example, it has proper short-circuiting and and or, or it scans out defines inside lambda bodies so they are simultaneously available.
Quite a milestone. The commit is 26a0f843.
sâmbătă, 23 ianuarie 2010
Abonați-vă la:
Postare comentarii (Atom)
Niciun comentariu:
Trimiteți un comentariu