
Grammar connected by Vadim Zaytsev, see the Grammar Zoo entry for details: toy/saf/abstract/connected
Source used for this grammar: Tijs van der Storm, lang::saf::AST, 11 October 2012 [Explore]
Fighter, Spec, Cond, Action), 1 root (Fighter), 0 top (—), 0 bottom (—).[name] 4, [specs], [fighter], [strength], [attribute], [cond], [move], [fight], [behavior], [const], [lhs] 2, [rhs] 2, [and], [or], [action], [actions], [choose].Fighter ::= [fighter]::[name]::string [specs]::Spec
Spec ::= [attribute]::[name]::string [strength]::integer [behavior]::[cond]::Cond [move]::Action [fight]::Action
Cond ::= [const]::[name]::string [and]::[lhs]::Cond [rhs]::Cond [or]::[lhs]::Cond [rhs]::Cond
Action ::=
[action]::[name]::string
[choose]::[actions]::string