pub fn grammar_to_lino(grammar: &Grammar) -> String
Encodes a grammar through the existing links codec and serializes it as LiNo.
LiNo