fixed Nathan's compilation errors
started to implement convert-to-byte-code-ast