انضم إلى نوستر
2026-08-05 00:40:23 UTC

Devine Lu Linvega on Nostr: I'm entertaining the idea of writing a second assembler, one written in a ...

I'm entertaining the idea of writing a second assembler, one written in a higher-level language than Uxntal. As a sort of reference. But as to not add an irreconcilable dependency into the mix, it must be in a language that I can realistically write a compiler for. With that in mind, if I had to pick a second language, which one would it be?

It would be POP-2. It was an obscure outlier among the Pascal and C shaped things that was extremely cat-brained, and a beautifully designed one at that, that still manages to preserve that classic look. If it wasn't for the infix assignment operator(->), it would look just like any other.

But it has a clear advantage over Pascal, in that it expects something that looks almost exactly like Uxn underneath. To test my idea, I've spent the better part of the past two days implementing a POP-2 compiler that comes to about 800 lines of Uxntal or a 2.5kb rom. Only one thing left to do, let's find out if an Uxntal assembler might be written in it so I may close the bootstrapping loop.

https://wiki.xxiivv.com/site/now.html
https://git.sr.ht/~rabbits/pop2