Skip to content
Discussion options

You must be logged in to vote

The best test suite for end-to-end testing of an Antlr4 grammar is the grammars-v4 repo, which contains 359 grammars and in;puts. Of the grammars with actions/predicates, almost all are in target-agnostic format, which allows the grammar to be used for all targets. Most tests are for valid input, but there are also some invalid-input tests.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@chetmurthy
Comment options

@ericvergnaud
Comment options

@chetmurthy
Comment options

@ericvergnaud
Comment options

@kaby76
Comment options

Answer selected by chetmurthy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants