Friday, October 23, 2015 [Tweets] [Favorites]

Lisp Implemented in sed and Make

SedLisp (via Matthew Kane Parker, comments):

Though this Lisp implementation does not support eval function, we can implement eval on top of this interpreter - eval.l is the implementation.

MakeLisp (comments):

GNU make has two builtin functions, $(shell) and $(guile), which make the implementation less interesting. For example, GNU make lacks arithmetic operations, but you can easily add two numbers by $(shell expr 3 + 4) or $(guile (+ 3 4)). So, makelisp does not use either of them, except a single $(shell cat /dev/stdin) function call to make it easier for users to pass Lisp programs to makelisp.

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment