Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/au-cobra/coq-rust-extraction
Coq plugin for extracting Rust code
https://github.com/au-cobra/coq-rust-extraction
coq extraction rust
Last synced: about 1 month ago
JSON representation
Coq plugin for extracting Rust code
- Host: GitHub
- URL: https://github.com/au-cobra/coq-rust-extraction
- Owner: AU-COBRA
- License: mit
- Created: 2022-10-07T23:24:15.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T16:57:39.000Z (about 1 month ago)
- Last Synced: 2024-09-30T20:43:15.815Z (about 1 month ago)
- Topics: coq, extraction, rust
- Language: Coq
- Homepage:
- Size: 220 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Coq Rust Extraction
[![Build](https://github.com/AU-COBRA/coq-rust-extraction/actions/workflows/build.yml/badge.svg)](https://github.com/AU-COBRA/coq-rust-extraction/actions/workflows/build.yml)
[![GitHub](https://img.shields.io/github/license/AU-COBRA/coq-rust-extraction)](https://github.com/AU-COBRA/coq-rust-extraction/blob/master/LICENSE)
[![Documentation](https://img.shields.io/github/deployments/au-cobra/coq-rust-extraction/github-pages?label=docs)](https://au-cobra.github.io/coq-rust-extraction/)A framework for extracting Coq programs to Rust.
## Meta
- Author(s):
- Danil Annenkov (initial)
- Mikkel Milo (initial)
- Jakob Botsch Nielsen (initial)
- Bas Spitters (initial)
- Eske Hoy Nielsen
- License: [MIT](LICENSE)
- Compatible Coq versions: 8.17 or later
- Additional dependencies: MetaCoq
- Coq namespace: `RustExtraction`
- Related publication(s):
- [Extracting functional programs from Coq, in Coq](https://arxiv.org/abs/2108.02995) doi:[10.1017/S0956796822000077](https://doi.org/10.1017/S0956796822000077)
- ["Extending MetaCoq Erasure: Extraction to Rust and Elm"](https://dannenkov.me/papers/extraction-rust-elm-coq-workshop2021.pdf)
- ["Extracting Smart Contracts Tested and Verified in Coq"](https://arxiv.org/abs/2012.09138) doi:[10.1145/3437992.3439934](https://doi.org/10.1145/3437992.3439934)## Building and installation instructions
The easiest way to install the latest released version is via [OPAM](https://opam.ocaml.org/doc/Install.html):
```shell
opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-rust-extraction
```To instead build and install manually, do:
```shell
opam repo add coq-released https://coq.inria.fr/opam/released
git clone https://github.com/AU-COBRA/coq-rust-extraction.git
cd coq-rust-extraction
opam install . --deps-only
make #or make -j
make install
```## Documentation
For documentation see [examples](/tests/theories/) and [generated CoqDoc](https://au-cobra.github.io/coq-rust-extraction/).
Additional examples can be found in [ConCert](https://github.com/AU-COBRA/ConCert).