Compiler working, although it will not take input (input assumed to be nil) and generated code has memory leaks