Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, 27 lines. Unless you count the ~120 lines of sexpistol.

https://github.com/aarongough/sexpistol



Syntactic transformation isn't really what it's about, is it? Parsing S-expressions into some internal representation is easily the most boring component of a working Lisp.


My s-expression reader is 34 lines. https://github.com/fogus/ulithp/blob/master/src/reader.rb

A minimal Lisp (the bare minimal) does not require sexprs though.


A minimal Lisp (the bare minimal) does not require sexprs

Really? Why not? I realize that McCarthy's original spec used recursion equations, but that notation is more complicated than s-expressions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: