Full Grammar

The following figure give the full item grammar for the card generator in Chaos Cards. The grammar is of considerably size and we further discuss the detailed logic and design philosophy with four subpages: The Root, Effects, Conditions, Miscs. In these pages, we use similar but not exact naming as in the GIGL source code. The orders in which the rules are presented are also slightly different. The general naming convention is that nonterminal type names start with upper case letters and rule names start with lower case letters.