Semantic parser (work in progress).