port most of main.cpp to self hosted compiler

39c7bd24e4Andrew Kelley committed on 12/23/2017, 5:57:56 AMparent760b307
10 files changedLine totals unavailable