Text this: Logic as grammar