Holy cow this is —structurally, not just expression— some of the worst C code I have ever seen, with the abuse of the 'double' type, 'T' cast that looks like a declaration, endian dependency, and strict aliasing violations galore… does this even work on a modern compiler? o.O
Certainly not the worst I have seen, by far; but yes, not pretty. IMHO “Just for making it shorter“. I would very much prefer 200 lines of actually readable nice code.
It's interesting that he seems to have written this for a pocket computer, because there actually was a pocket computer of similar vintage that had LISP built in -- 1989's Casio AI-1000
eqvinox|6 months ago
omoikane|6 months ago
https://github.com/Robert-van-Engelen/tinylisp/blob/2d0fb35b...
f1shy|6 months ago
OhMeadhbh|6 months ago
messe|6 months ago
OhMeadhbh|6 months ago
* https://news.ycombinator.com/item?id=32100035
* https://news.ycombinator.com/item?id=32095655
and
* https://BI6.US/CO/N/20250420.HTML#/042402
lisper|6 months ago
https://flownet.com/ron/l.py
f1shy|6 months ago
ginko|6 months ago
nivertech|6 months ago
https://github.com/Robert-van-Engelen/tinylisp/blob/main/tin...
jhbadger|6 months ago
https://pockemul.com/index.php/2020/04/27/pockemul-1-10-0-ne...
forgotpwd16|6 months ago
Kinda reminds me J-flavored Whitney's one-page J interpreter.
mark_l_watson|6 months ago
coderatlarge|6 months ago
f1shy|6 months ago
spyrja|6 months ago
curtisszmania|6 months ago
[deleted]