This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/flap
2023-12-05 20:27:51 +01:00
..
runtime Publication du jalon 1 2023-10-04 15:40:22 +02:00
src wip: synth_field 2023-12-05 20:27:51 +01:00
tests Jalon 3 2023-11-15 19:08:33 +01:00
.gitignore Ignore tests files 2023-10-08 15:54:40 +02:00
.ocamlformat ocamlformat 2023-10-08 16:02:06 +02:00
AUTEURS Mise a jour des auteurs 2023-10-09 18:04:35 +02:00
dune-project Publication du jalon 1 2023-10-04 15:40:22 +02:00
README.md Publication du jalon 1 2023-10-04 15:40:22 +02:00

The Flap Compiler

Prerequisites

Flap requires OCaml 4.10+, as well as the tools and libraries listed below. They should be installed prior to attempting to build Flap.

  • The dune build system.
  • The utop enhanced interactive toplevel.
  • The pprint library.
  • The menhir parser generator and library.
  • The sexplib library.
  • The ppx_sexp_conv syntax extension.

The easiest way to install them is via OPAM.

opam install dune utop pprint menhir sexplib ppx_sexp_conv

In addition, running the test requires the cram tool. It is probably provided by your Linux distribution.

Build instructions

To compile the compiler, run dune build from this directory.

To run the compiler, run dune exec ./src/flap.exe -- OPTIONS file from this directory. Alternatively, flap.exe can be found in _build/default/src/.

The test suite can be found in the tests directory. See the README there.