IIRC, I think the core of Grammarly is a CL-based pattern-matching system, so it may be even simpler than that.