smie-prec2->grammar

smie-prec2->grammar is a compiled Lisp function in `smie.el'.

(smie-prec2->grammar PREC2)

Take a 2D precedence table and turn it into an alist of precedence levels.
PREC2 is a table as returned by `smie-precs->prec2' or
`smie-bnf->prec2'.