- Install JDK 1.7 (or greater)
- Install Maven
- Download ABCL and extract it to
/opt/abcl
. If you chose a different location please set theABCL_JAR
environment variable accordingly.
First run Maven to install and build all Java dependencies.
mvn clean install
In the top-level project directory, run
./analyzer -h
To analyze a test file, do
./analyzer example-tests/ArrayJoinTest.java
- Start up ABCL
java -jar $ABCL_JAR
- Install Quicklisp (Skip this step if Quicklisp is already installed)
CL-USER> (require 'abcl-contrib) CL-USER> (require 'quicklisp-abcl) CL-USER> (ql:add-to-init-file)
- Add the project path to the registry
CL-USER> (pushnew *default-pathname-defaults* asdf:*central-registry*)
- Load the project
CL-USER> (ql:quickload :analyzer)
- Run the analyzer of a test file
CL-USER> (analyzer:analyze (merge-pathnames #p"example-tests/ArrayJoinTest.java"))
- Report the results
CL-USER> (analyzer:report *)
This code is licensed under the GNU Affero General Public License. See LICENSE for details.