-- Leo's gemini proxy

-- Connecting to republic.circumlunar.space:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Subs Scheme Lisp Interpreter


Why would you write a Lisp interpreter?


I find that question difficult to answer, but the joy of open source is that I don't have to answer it.


Subs is a Scheme interpreter written in C++, and growing out of the excitement I have felt while reading Structure and Interpretation of Computer Programs.


Subs

Structure and Interpretation of Computer Programs


Subs is very incomplete, and will probably never be otherwise, but it is exciting how quickly you can write a functional Lisp interpreter. I plan to go through SICP section by section and ensure all the examples work in Subs. So far I am failing on the last example in section 1.1.1 (because I don't support new-lines inside statements yet!) but in reality most of the work is done to support quite a lot of stuff (NOT including mutable variables...yuck).


One possible explanation, if such a thing were necessary, is that one day I want to write a new programming language that has all the simplicity and metaprogramming capability of Lisp, with the native performance and deployability of C++, and the syntactic elegance of Python. I've got a lot to learn first.


Originally posted at 2010-08-18 15:05:16+00:00. Automatically generated from the original post : apologies for the errors introduced.


original post

-- Response ended

-- Page fetched on Sun May 19 08:02:05 2024