parser closer to complete, starting on code generator and emulation