4.1 Grammar styles ================== Semantic parsing heavily depends on how you wrote the grammar. There are mainly two styles to write a Wisent’s grammar intended to be used with the Semantic tool set: the “Iterative style” and the “Bison style”. Each one has pros and cons, and in certain cases it can be worth a mix of the two styles!
· Iterative style · Bison style · Mixed style · Start nonterminals · Useful functions