Logic for grammar | lit.salon