Type resolution system based on srcML
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src
srcSAXEventDispatch @ 09d41b2
.gitmodules
CMakeLists.txt
README.md

README.md

Lightweight tool for static type resolution

To build srcType:

Clone the repository with 'git clone --recursive' into the desired directory. Make sure you include the --recursive as srcType includes a submodule that must also be cloned.

Outside of the cloned directory, create a new directory for the build. (This guide assumes the new directory is at the same directory tree level as the cloned directory)

Enter the new directory (not the cloned one) and type 'cmake ../{cloned directory}'

After cmake runs, simply type 'make' and all files should be built.

Once everything is built, go into the 'bin' folder and that's where the executable will be.

If you'd like to run the tests, you will need to have srcML installed on your computer. It can be obtained here: http://www.srcml.org/downloads.html -- make sure you use libsrcml.so as it is the only one that will work with the build script for srcType

NOTICE

When you run srcml to create an archive that will be used with srcType, make sure you run srcml with the --position option. srcType requires position information.

i.e., ./srcml {filename} --position

Additionally, integration with https://github.com/srcML/srcSAXEventDispatch has been completed. Please report any issues.