Text this: Compiling natural semantics