Skip to content

maximmenshikov/parslr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parslr

ANTLR test rig CLI for use in Continuous Integration systems. In short, it generates parser in Java, compiles it, and then tests that no parsing errors occur. At the moment, no validation of output is possible.

Usage

python3 -m parslr parameters

Mandatory parameters are:

  • -g <path> --- path to grammar.
  • -a <path> --- path to complete ANTLR jar.
  • -r <name> --- starting rule.
  • -i <path> --- path to test input or folder with inputs. In the latter case, JUnit result XML may be generated.
  • -o <path> --- path to output JUnit result XML.

The return code is a number of errors during parsing.

License

MIT

About

ANTLR test rig cli for use in CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages