summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index 64100410..82ff3944 100644
--- a/README.md
+++ b/README.md
@@ -72,12 +72,22 @@ If you run `make`, you will generate a documentation accessible from [`doc.html`
## Usage
-The Aeneas binary is in `bin`; you can run: `./bin/aeneas.exe [OPTIONS] LLBC_FILE`,
+The Aeneas binary is in `bin`; you can run: `./bin/aeneas -backend {fstar|coq|lean|hol4} [OPTIONS] LLBC_FILE`,
where `LLBC_FILE` is an .llbc file generated by Charon.
Aeneas provides a lot of flags and options to tweak its behaviour: you can use `--help`
to display a detailed documentation.
+### Additional Steps for Lean Backend
+
+Files generated by the Lean backend import the `Base` package from Aeneas.
+To use those files in Lean, create a new Lean package using `lake new`,
+overwrite the `lean-toolchain` with the one inside `./backends/lean`,
+and add `base` as a dependency in the `lakefile.lean`:
+```
+require base from "PATH_TO_AENEAS_REPO/backends/lean"
+```
+
## Targeted Subset And Current Limitations
We target **safe** Rust. This means we have no support for unsafe Rust, though we plan to