![Avatar](https://secure.gravatar.com/avatar/9d0b7b18a7b2f8d9fa43d17ddc470b03.jpg?s=64&d=identicon&r=g)
Is there any guidance, patterns, or advice for creating a language parser/grammar, test first? The tree constructor API for the grammar seems very focused on creating the entire grammar in a single method (shared context) which makes testing very difficult.
The other option I see is to write a top down parser by hand, which should allow full testing.
Thanks