Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update doc #599

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,13 @@ In order to load Coq-Elpi use `From elpi Require Import elpi`.
It understands the `#[phase]` attribute, see [synterp-vs-interp](README.md#separation-of-parsing-from-execution-of-vernacular-commands).
- `Elpi Program <qname> <code>` lower level primitive letting one crate a
command/tactic with a custom preamble `<code>`.

- `Elpi Accumulate [<qname>] [<code>|File <filename> From <loadpath>|Db <dbname>]`
- `From some.load.path Extra Dependency "filename" as <fname>`.
- `Elpi Accumulate [<qname>] [<code>|File <fname>|Db <dbname>]`
adds code to the current program (or `<qname>` if specified).
The code can be verbatim, from a file or a Db.
It understands the `#[skip="rex"]` and `#[only="rex"]` which make the command
a no op if the Coq version is matched (or not) by the given regular expression.
File names are relative to the directory mapped to `<loadpath>`; if more than
one such directory exists, the `<filename>` must exists only once.
File names `<fname>` must have been previously declared with the above command.
It understands the `#[phase]` attribute, see [synterp-vs-interp](README.md#separation-of-parsing-from-execution-of-vernacular-commands)
- `Elpi Typecheck [<qname>]` typechecks the current program (or `<qname>` if
specified).
Expand Down
Loading