QL Language and Compiler, for Programming Langauges and Translators Course Fall 2015
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
compiler
docs
tests
.gitignore
Makefile
README.md
run_integration_tests.sh
run_unit_tests.sh
sample.json
sample2.json

README.md

QL

QL Language and Compiler, for Programming Langauges and Translators Course Fall 2015

Getting started

You should have OCaml version 4.02.3 and Java version 1.8.0_25 installed on your machine. If not, run the appropriate commands as outlined in the following docs:

Clone our repo by running the following command in your terminal:

git clone https://github.com/mayankmahajan24/QL.git

Run tests

To make sure everything is working locally, navigate to the root directory of QL and run the following command:

./run_unit_tests.sh

If this doesn't work, make sure that you can run the script as an executable by running the following command:

chmod 744 run_unit_tests.sh

If this still doesn't work, open an issue! :)

Run individual QL files

To run individual QL files, navigate to the root directory of QL and run the following commands:

compiler/qlc path_to_file/file.ql destination_file
compiler/ql destination_file

For example, if we wanted to run our first integration test, we would run:

compiler/qlc tests/integration-1.ql SpringCourses
compiler/ql SpringCourses

Write QL code

For a comprehensive guide to our language, take a look at our Language Reference Manual here.

Also, please refer to our style guide here.

Contribute

If you've made it this far, something has probably broken! We don't know why you'd want to contribute, but we'd love it if you did. At the very least, feel free to open an issue or get in touch with us.

Have fun! Write QL code.

The Coders (Matt Piccolella, Mayank Mahajan, Gary Lin, Anshul Gupta, Evan Tarrh)