Not quite ready to show this off on Twitter yet, but:

- The Sire bootstrap is down to 2500 LOC.

- The compiler can quine with just four jets: Add, Sub, Mul, Div.

- The compiler exe, serialized and compressed is 13k.

- The disassembled exe pretty prints as 1500 LOC.

We will soon have a demo of this, that you can run in the browser, using a tiny PLAN runtime written in C.

Reply to this note

Please Login to reply.

Discussion

In contrast, hoon.hoon is 14k LOC, the smallest (ivory) pill is 600kb compressed, hoon requires FAR more jets, many of them are quite non-trivial.

Can you run Hoon in WASM yet?

The WASM runtime was built by Michael and Isaac as a fun side project, with some guideance from me. Both of them have never built runtimes before and were learning PLAN as they went.

I've been working towards this for years now. Feels awesome to finally see things coming together.

Incredible!

nostr:note1hq2lwmsh5ue90850hgxprtexdf96nh85tm09rtgzgwvwpjyq5eqs0669rz