Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/annenkov/futhark-extract
Extracting Futhark code from the Coq proof assistant
https://github.com/annenkov/futhark-extract
Last synced: 3 months ago
JSON representation
Extracting Futhark code from the Coq proof assistant
- Host: GitHub
- URL: https://github.com/annenkov/futhark-extract
- Owner: annenkov
- Created: 2021-05-17T20:28:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-03T11:30:24.000Z (almost 3 years ago)
- Last Synced: 2023-08-06T06:52:55.227Z (over 1 year ago)
- Language: Coq
- Size: 179 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![build status](https://github.com/annenkov/futhark-extract/actions/workflows/build.yaml/badge.svg)
# Extracting Futhark code
A prototype implementation of code extraction from the Coq proof assistant targeting [Futhark](https://futhark-lang.org/)
The extraction machinery is provided by [MetaCoq](https://github.com/MetaCoq/metacoq/) and [ConCert](https://github.com/AU-COBRA/ConCert)
## Requirements
Requires Coq 8.11.2 to compile.
The easiest way to install Coq and the dependencies is through `opam`.
Read [here](https://coq.inria.fr/opam-using.html) 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.