parser fleshed out, building intermediate rep, AST