Your favorite Menhir tricks and fanciness

My two favourite features of Menhir, when compared to other parser generators, are checkpoints (or Incremental Interface), and the ability to marshal the intermediate representations (*.cmly files), that is the grammar and the automata. By the way Menhir is LR(1), not just LALR(1), so it can accep…