2018-06-19 20:09:53 -05:00
# BASIC Tools API
2018-05-29 15:41:03 -05:00
2018-06-12 19:41:40 -05:00
The BASIC Tools API is a set of reusable code that can be used to parse a text-based Applesoft BASIC program an generate the appropriate tokens. It also has multiple types of visitors that can re-write that parse tree to rearrange the code (calling them optimizations is a bit over-the-top).
2018-05-29 15:41:03 -05:00
2018-05-29 21:13:35 -05:00
## Maven / Gradle
To include in a Maven project:
```xml
< dependency >
< groupId > net.sf.applecommander< / groupId >
2018-06-12 19:39:33 -05:00
< artifactId > bastools-api< / artifactId >
2019-09-02 21:12:43 -05:00
< version > 0.3.1< / version >
2018-05-29 21:13:35 -05:00
< / dependency >
```
To include in a Gradle project:
```
dependencies {
// ...
2019-09-02 21:12:43 -05:00
compile "net.sf.applecommander:bastools-api:0.3.1"
2018-05-29 21:13:35 -05:00
// ...
}
```
2018-06-19 20:09:53 -05:00
## API descriptions
2018-05-29 15:41:03 -05:00
2018-06-19 20:09:53 -05:00
Currently the API is broken into the following sections:
2018-05-29 15:41:03 -05:00
2018-06-19 20:09:53 -05:00
* [BASIC Tokenizer ](README-TOKENIZER.md )
* [Shape Tooling ](README-SHAPES.md )