Loko Scheme is an optimizing Scheme compiler that builds statically linked binaries for bare metal

https://weinholt.se/articles/loko-scheme-0-13-0/

9 points · 5 comments · view on lemmy.world

5 Comments

homik@slrpnk.net · 2 pts · 48d

Cross-compiles to Linux/amd64, NetBSD/amd64 and bare metal amd64.

So, PC only, but still quite interesting project.

simon_brooke@mastodon.scot · 1 pts · 48d (3 replies)

@yogthos H'mmm... Could the jank compiler be backended onto this?

yogthos@lemmy.ml · 2 pts · 48d (2 replies)

Not easily, since you'd need to output Scheme intermediate form here. Jolt on the other hand... :)

simon_brooke@mastodon.scot · 2 pts · 48d (1 reply)

@yogthos Sorry, my brain just isn't very good lately!

Compiling #Clojure down to something I could boot on a bare metal @raspberrypi Pico would be really exciting!

yogthos@lemmy.ml · 2 pts · 48d

Ah, to be fair, the names are very similar. And even on Chez, it might be small enough. A minimal binary should already under 10mb of memory right now.