bramp / antlr4-grammars

Precompiled Go versions of most of the grammars on https://github.com/antlr/grammars-v4.
Apache License 2.0
98 stars 22 forks source link

Support for the .tree and .error test cases #3

Open bramp opened 6 years ago

bramp commented 6 years ago

Some of the grammars have a ".tree" and ".error" file. Read them as part of the test case and check the parsed output matches.