4 ms·
Yeah, 27 lines. Unless you count the ~120 lines of sexpistol. https://github.com/aarongough/sexpistol https://github.com/aarongough/sexpistol
by quarterto 14y ago
Yeah, 27 lines. Unless you count the ~120 lines of sexpistol.
https://github.com/aarongough/sexpistol https://github.com/aarongough/sexpistol
- apl 14y agoSyntactic 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.
- fogus 14y agoMy s-expression reader is 34 lines. https://github.com/fogus/ulithp/blob/master/src/reader.rb https://github.com/fogus/ulithp/blob/master/src/reader.rb A minimal Lisp (the bare minimal) does not require sexprs though.
- gruseom 14y agoA 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.