Skip to content

Commit 07b6937

Browse files
authored
Merge pull request #29 from AU-COBRA/docs
Add changelog and readme
2 parents 3162cdb + 03e75d8 commit 07b6937

File tree

2 files changed

+65
-2
lines changed

2 files changed

+65
-2
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [0.1.0] - 2024-07-10
11+
Initial release
12+
13+
Compatible with Coq 8.17-8.19
14+
15+
[unreleased]: https://github.com/AU-COBRA/coq-rust-extraction/compare/v0.1.0...HEAD
16+
[0.1.0]: https://github.com/AU-COBRA/coq-rust-extraction/releases/tag/v0.1.0

README.md

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1-
# rust-extraction
1+
# Coq Rust Extraction
2+
[![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)
3+
[![GitHub](https://img.shields.io/github/license/AU-COBRA/coq-rust-extraction)](https://github.com/AU-COBRA/coq-rust-extraction/blob/master/LICENSE)
4+
[![Documentation](https://img.shields.io/github/deployments/au-cobra/coq-rust-extraction/github-pages?label=docs)](https://au-cobra.github.io/coq-rust-extraction/)
25

3-
For documentation see [ConCert](https://github.com/AU-COBRA/ConCert)
6+
7+
A framework for extracting Coq programs to Rust.
8+
9+
## Meta
10+
11+
- Author(s):
12+
- Danil Annenkov (initial)
13+
- Mikkel Milo (initial)
14+
- Jakob Botsch Nielsen (initial)
15+
- Bas Spitters (initial)
16+
- Eske Hoy Nielsen
17+
- License: [MIT](LICENSE)
18+
- Compatible Coq versions: 8.17 or later
19+
- Additional dependencies: MetaCoq
20+
- Coq namespace: `RustExtraction`
21+
- Related publication(s):
22+
- [Extracting functional programs from Coq, in Coq](https://arxiv.org/abs/2108.02995) doi:[10.1017/S0956796822000077](https://doi.org/10.1017/S0956796822000077)
23+
- ["Extending MetaCoq Erasure: Extraction to Rust and Elm"](https://dannenkov.me/papers/extraction-rust-elm-coq-workshop2021.pdf)
24+
- ["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)
25+
26+
## Building and installation instructions
27+
28+
The easiest way to install the latest released version is via [OPAM](https://opam.ocaml.org/doc/Install.html):
29+
30+
```shell
31+
opam repo add coq-released https://coq.inria.fr/opam/released
32+
opam install coq-rust-extraction
33+
```
34+
35+
To instead build and install manually, do:
36+
37+
```shell
38+
opam repo add coq-released https://coq.inria.fr/opam/released
39+
git clone https://github.com/AU-COBRA/coq-rust-extraction.git
40+
cd coq-rust-extraction
41+
opam install . --deps-only
42+
make #or make -j <number-of-cores-on-your-machine>
43+
make install
44+
```
45+
46+
## Documentation
47+
48+
For documentation see [examples](/tests/theories/) and [generated CoqDoc](https://au-cobra.github.io/coq-rust-extraction/).
49+
50+
Additional examples can be found in [ConCert](https://github.com/AU-COBRA/ConCert).

0 commit comments

Comments
 (0)