Initial work on compiler, fixes parser.