ProLeap ANTLR4-based analyzer & transformer for Visual Basic 6.0
This is an analyzer & transformer for Visual Basic 6.0 based on ProLeap Visual Basic 6.0 parser. The parser generates an Abstract Syntax Tree (AST) and Abstract Semantic Graph (ASG) for Visual Basic 6.0 code, which then is processed by this analyzer & transformer.
💫 Star if you like our work.
Support
This program is free software under AGPL v3 license and in this form comes without support.
Where to look next
Build dependency proleap-vb6-parser
- Clone repository uwol/proleap-vb6-parser locally.
- As described in the README.md of that repository, run:
$ mvn clean install
- Now your local
~/.m2/repository
should contain dependencyio/github/uwol/proleap-vb6-parser
. - In Eclipse import the directory
proleap-vb6-parser
as a anexisting Maven project
.
Build Process
The build process is based on Maven (version 3 or higher). Building requires a JDK 17.
- Clone or download the repository.
- In Eclipse import the directory as a an
existing Maven project
. Important: Open Eclipse > Preferences > Maven > Annotation Processing and select "Automatically configure JDT APT", so that dependency injection framework Micronaut automatically processes all@Inject
annotations. - To build, run:
$ mvn clean package
- The test suite executes tests against Visual Basic 6.0 test code.
- If error
Missing artifact io.github.uwol:proleap-vb6-parser:jar:4.0.0
comes up, please check that dependencyproleap-vb6-parser
has been properly installed by Maven as described above. - If error
io.micronaut.context.exceptions.NoSuchBeanException: No bean of type ...
comes up, please check that Annotation Processing has been properly configured in Eclipse as described above. Optionally in Eclipse right-click the project then Maven > Update project. - You should see output like this:
[INFO] Scanning for projects...
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for proleap-vb6 1.0.0:
[INFO]
[INFO] proleap-vb6 ........................................ SUCCESS [ 0.108 s]
[INFO] proleap-vb6-analysis ............................... SUCCESS [ 3.270 s]
[INFO] proleap-vb6-transform .............................. SUCCESS [ 4.496 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
- To install the JAR in your local Maven repository:
$ mvn clean install
- To only run the tests:
$ mvn clean test