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
2024-01-01 10:44:25 +01:00
..
questions/retrolixToX86_64 add print debug 2023-12-31 23:21:35 +01:00
runtime ajout fonction add_eight_int dans le runtime 2024-01-01 10:44:25 +01:00
src fix sub order 2023-12-31 23:22:04 +01:00
tests Publication du jalon 6 2023-12-13 19:42:00 +01:00
.gitignore ignore elf files 2023-12-31 18:51:43 +01: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.