Why Nostr? What is Njump?
2024-04-22 05:30:50
in reply to

Brian Swetland on Nostr: That's actually how my stage-0 compiler works. I had started writing everything in a ...

That's actually how my stage-0 compiler works. I had started writing everything in a minimal dialect of C thinking I'd, at some point, machine-translate it to the target language. It wasn't horrible for the lexer, parser, etc, but data structure wrangling, code gen, etc got increasingly ugly. So I hit the reset button and bolted a super-minimal transpiler-to-C on the lexer+parser. Then I can use that to compile the stage-1 compiler written in (a subset of) itself.
Author Public Key
npub1pcxszqyeekhg5uy4qrjx4jk65sq223xukk3azt8h4lhg724e7n3qg5rjk8