
Boosted by cstanhope@social.coop ("Your friendly 'net denizen"):
SpindleyQ@gamemaking.social ("Spindley Q Frog") wrote:
came across COMFY-65 the other day, I forget how. https://oneofus.la/have-emacs-will-hack/files/sigcol04.pdf
It's a compile-to-6502 assembly language implemented in emacs lisp, with the main thing it provides over raw assembly being structured flow control. (of course you can just use lisp as a macro assembler too, that comes for free.) uses an extremely neat trick of emitting code _backwards_ so that it always has enough context to generate the most efficient branch instructions in a single pass. extremely my shit.