A Lisp in 99LOC
github.com
A Lisp in 99LOC
1–10 of 28 posts
Re: A Lisp in 99LOC
#2Re: A Lisp in 99LOC
#3Re: A Lisp in 99LOC
#4Holy 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
https://github.com/Robert-van-Engelen/tinylisp/blob/2d0fb35b...
Re: A Lisp in 99LOC
#5Re: A Lisp in 99LOC
#6Holy 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
Re: A Lisp in 99LOC
#7Holy 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
It does not, because there is a syntax error on line 81 (extra close parenthesis): https://github.com/Robert-van-Engelen/tinylisp/blob/2d0fb35b...
https://github.com/Robert-van-Engelen/tinylisp/commit/40c6c0...
Re: A Lisp in 99LOC
#8https://github.com/Robert-van-Engelen/tinylisp/blob/main/tin...