⚠️ SPOILER ALERT ⚠️
This is a post with my solutions and learning from the puzzle. Don’t continue reading if you haven’t tried the puzzle on your own yet.
If you want to do the puzzle, visit adventofcode.com/2020/day/8.
My programming language of choice is python
and all examples below are in python.
Key learning
- Simple compiler
This puzzle is a really simple compiler where we execute one of three instructions and only keep track…