Getting started
Command line:
git clone https://github.com/marcobambini/gravity.git
cd gravity
make
You can also use the Xcode project to create the gravity or unittest executables.
Unitest usage:
./unittest path_to_test_folder
You should obtain an output like:
Gravity help:
./gravity --help
To compile a gravity file to a exec.json executable:
./gravity -c myfile.gravity -o exec.json
To execute a precompiled json executable file:
./gravity -x exec.json
To directly execute a gravity file (without first serialize it to json):
./gravity myfile.gravity