v. 0.5.1, simplify grammar, allow recursive references