Implement Compiler class up the the lexer phase.

So that --lextest will actually output something.