Skip to content
 
 

Latest commit

 

History

1,542 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhyEnf: a proactive real-time first-order enforcer

Getting Started

To execute the project on your local machine, follow the instructions below.

Prerequisites

We recommend that you install a recent verion of the OCaml compiler (>= 4.11) and necessary dependencies with opam.

In particular, if you are a Debian/Ubuntu user

# apt-get install opam libgmp-dev

and then

$ opam init -y
$ opam switch create 4.13.1
$ eval $(opam env --switch=4.13.1)
$ opam install dune core_kernel base zarith menhir js_of_ocaml js_of_ocaml-ppx \
               zarith_stubs_js dune-build-info qcheck

should be enough.

Running

From the root folder, you can compile the code with

$ dune build

to obtain the executable whyenf.exe inside the folder bin. Moreover, you can run one of our predefined examples with

$ ./bin/whyenf.exe -sig examples/enforcement/paper/case_study/arfelt.sig -formula examples/enforcement/paper/case_study/formulae_whyenf/arfelt_2_limitation.mfotl -log examples/enforcement/paper/case_study/arfelt.log

You can remove the binary and clean the working directory with

$ dune clean

License

This project is licensed under the GNU Lesser GPL-3.0 license - see LICENSE for details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages