Jump to content

  • Log In with Google      Sign In   
  • Create Account

The Bag of Holding

Self-hosting the Epoch Compiler: Day Two

Posted by ApochPiQ, 11 December 2013 - - - - - - · 669 views
Epoch, language design
A large number of the errors emitted by attempting to self-host the compiler have turned out to be caused by a relatively small number of bugs.

Hex literals had no support at all in the compiler, so I added that, and crushed a bunch of errors. I forgot to special-case 0 so anything that evaluated to 0 would not be treated as a number (the compiler assume...