Uxn, but pocket version.
I've had a project in mind for a few days, I wanted to see how much of Uxn I could do away with and still manage to bootstrap the language.
Uxn emulator(150 lines, 16kb):
http://wiki.xxiivv.com/etc/uxncli.c.txt
Uxntal self-hosted assembler(400 lines, 1.4kb):
http://wiki.xxiivv.com/etc/uxnasm.tal.txt
Uxntal self-hosted assembler binary:
http://wiki.xxiivv.com/etc/uxnasm.rom.txt
The emulator is capable of running the assembler and assembling most roms that do not use pre-processor runes.
@neauoire hmm, on line 136 shouldn't c be of type int? if eof is defined as -1, the comparison below will be always false.