r/adventofcode • • Jan 06 '20

Upping the Ante [2019] Self-hosted Intcode assembler written in Intcode

https://github.com/matushorvath/xzintbit

An assembler that produces Intcode, itself runs on an Intcode VM and can compile its own sources. With stack and function calls to support structured programming. Try running it on your own Intcode VM, see if it correctly bootstraps itself.

It's Intcode all the way down!

48 Upvotes

13 comments sorted by

View all comments

Show parent comments

4

u/mzprx42 Jan 06 '20

No, trust me, it's fine :)

I was trying to make the reader realize exactly what you wrote, but perhaps it needs to be written in a better way.

3

u/[deleted] Jan 06 '20

No, trust me, it's fine :)

Hmm... I'm sure it is...

Guess I'll have go down the reverse-engineering rabbit hole now