Jump to content

View more

The Bag of Holding

4: Adsense

Self-hosting the Epoch Compiler: Day Five

After a nice night of rest, it's time to come back in force and really hammer on this compiler.

The first bug I decided to tackle involved incorrect type annotations when passing sum-typed variables to a pattern matched function (say that ten times fast). The fix was to look more carefully at the original compiler's logic and try to replicate it more exa...