moved metadata and macro things from sexp grammar to word grammar (big speedup)