Welcome to RC-Evaluator: A User-Friendly Tool for Evaluating Relational Calculus Queries.
RC-Evaluator depends on MonPoly which can be found here: https://bitbucket.org/monpoly/monpoly/src/master/ and on React found here: https://react.dev/
If you just want to run RC-Evaluator locally and have node.js installed just
- Clone the git repository
- Go to the vis directory
- Run
npm install npm start
If you want to build and make changes to RC-Evaluator you will need an OCaml compiler. If you don't already have one installed we recommend using OPAM: https://opam.ocaml.org/doc/Install.html to install.
You will also need the MonPoly library: https://bitbucket.org/jshs/monpoly/src/master/
To build RC-Evaluator on your local machine follow these steps:
- Clone the monpoly directory
- Git clone RC-Evaluator
- Copy the rcEval.ml file from RC-Eval/bin into monpoly/js.
- From monpoly run:
eval $(opam env) dune build
- Copy the rcEval.bc.js file located at monpoly/_build/default/js/rcEval.bc.js into RC-Eval/vis/public
- From RC-Eval/vis run:
npm install npm start
Every time you make a change to the monpoly library you will have to repeat step 4-6 (you only have to run npm install once)