Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.18 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.18 KB

build status

Extracting Futhark code

A prototype implementation of code extraction from the Coq proof assistant targeting Futhark

The extraction machinery is provided by MetaCoq and ConCert

Requirements

Requires Coq 8.11.2 to compile. The easiest way to install Coq and the dependencies is through opam. Read here about how to install and manage several versions of Coq.

The repository contains an opam file, which installs a compatible commit from the ConCert' repository. If it's a fresh installation (or to a newly created switch/root), the following lines should be sufficient.

opam repo add coq-released https://coq.inria.fr/opam/released
opam pin -j 4 add https://github.com/annenkov/futhark-extract.git

If Coq is not installed, it will be installed as one of the dependencies. The process of building all the dependencies is quite time-consuming.

After the process of building dependencies is finished, just run make in the project root.