checkpointing additions to parser and tree parser to support schemas in compiler