3 ms·
Inspired by Heart of Clojure, and especially Jeaye Wilkerson and his talk about jank-lang, I’ve dusted off my toy Clojure compiler that produces 16-bit x86 code
by nathell 2y ago
Inspired by Heart of Clojure, and especially Jeaye Wilkerson and his talk about jank-lang, I’ve dusted off my toy Clojure compiler that produces 16-bit x86 code.
I’ve fixed the handling of global environment, to the point where I’m able to compile a program that prints out the result of multiplying two numbers [0]. Sounds trivial, but seeing as the compiler has no dependencies and targets bare metal, there’s quite a lot of moving parts under the hood. I’m excited!
Right now I’m adding rudimentary support for strings. My goal is to get it to compile itself, but that’s still a far future. Extrapolating from the current development pace, maybe I’ll get it done in 2050? :)
[0]: https://mastodon.social/@nathell/113246152187003470 https://mastodon.social/@nathell/113246152187003470