wip: writing smie grammar