A new parser / interpreter for BAIN wizards based on ANTLR.
The parser is generated from an ANTLR4 grammar. This should hopefully also make it easier for other projects to use it. It is found in wizards/wizard.g4.
It supports everything listed in the BAIN wizard documentation, but has some breaking changes since the previous parser was very lax. See Breaking Changes for more information.
Not yet implemented
Not yet implemented
Still a bit rough because it was designed for CI, but see the scripts folder. In short:
archlinux-java status
and switch with archlinux-java set
../scripts/prereq.sh
. This will download a copy of ANTLR../scripts/build.sh
. This will generate a Java parser and compile it../scripts/test.sh
. This will run all tests in the tests folder.wizparse is licensed under the MIT license. See LICENSE for the full text.
The exception is tests. All files in there have their own accompanying license file, which applies to that file only. The vast majority of those files are licensed under Nexus' weird permission system, with most having terms similar to a CC-BY-NC license.