mirror of
https://github.com/uwol/proleap-vb6-parser.git
synced 2025-12-16 19:47:04 +03:00
readme, gitignore
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -17,6 +17,6 @@ Thumbs.db
|
||||
bin/
|
||||
build/
|
||||
lib/
|
||||
src/test/java/io/proleap/vb6/ast/proprietary/
|
||||
src/test/resources/io/proleap/vb6/ast/proprietary/
|
||||
target/
|
||||
|
||||
**/proprietary/
|
||||
|
||||
10
README.md
10
README.md
@@ -3,10 +3,10 @@ ANTLR4-based parser and grammar for Visual Basic 6.0
|
||||
|
||||
<a href="https://travis-ci.org/uwol/vb6parser"><img src="https://api.travis-ci.org/uwol/vb6parser.png"></a>
|
||||
|
||||
This is a parser and grammar for Visual Basic 6.0, which generates an
|
||||
This is a parser and grammar for Visual Basic 6.0, which generates an
|
||||
Abstract Syntax Tree (AST) and Abstract Semantic Graph (ASG) for Visual Basic 6.0 code.
|
||||
The AST represents plain Visual Basic 6.0 source code in a syntax tree structure.
|
||||
The ASG is generated from the AST by semantic analysis and provides data and control
|
||||
The AST represents plain Visual Basic 6.0 source code in a syntax tree structure.
|
||||
The ASG is generated from the AST by semantic analysis and provides data and control
|
||||
flow information (e. g. variable access).
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ How to use
|
||||
|
||||
Import into [Eclipse](https://eclipse.org):
|
||||
|
||||
1. Clone or download the repository.
|
||||
1. Clone or download the repository.
|
||||
2. In Eclipse import the directory as a an `existing Maven project`.
|
||||
3. Right click file `src/test/java/io.proleap.vb6.ast.HelloWorldTest.java` and `run as JUnit test`.
|
||||
|
||||
@@ -133,7 +133,7 @@ The build process is based on Maven (version 3 or higher). Building requires a J
|
||||
$ mvn clean package
|
||||
```
|
||||
|
||||
* The test suite executes tests against MSDN statement examples and GPLed VB6 test files. Unit tests and parse tree files were generated by class io.proleap.vb6.TestGenerator from those VB6 test files.
|
||||
* The test suite executes AST and ASG tests against VB6 test code and MSDN statement examples. Unit tests and parse tree files were generated by class `io.proleap.vb6.TestGenerator` from those VB6 test files.
|
||||
* You should see output like this:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user