Day 21 solution

Hopefully my logic is explained well enough in the comments for this one. We're just layering more programming languages on top of other programming languages. This is how you anger the computer gods and bring about the AI singularity.

I also made some general tweaks to the Intcode machine to make ASCII intcode machines dead simple to deal with. Is it worth the extra branches for each input and output instruction in the interpreter? Probably not...but I was never going to win any speed competitions anyway.
This commit is contained in:
2022-07-18 09:20:29 -05:00
parent effd94c09b
commit e5dd6a6ca3
5 changed files with 125 additions and 8 deletions

View File

@ -54,6 +54,7 @@ var dayMap = []day{
&days.Day18{},
&days.Day19{},
&days.Day20{},
&days.Day21{},
}
func main() {