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

build using dune #24

Merged
merged 10 commits into from
Jun 20, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
update changelog
gares committed Jun 20, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 796734aff1f067353a29f912a5878a11314744a3
17 changes: 17 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## Version 1.4 (June 2019)

Elpi 1.4 requires OCaml 4.04 or newer

- Sources and build: Switch to dune, with a little make base wrapper.
As a result of dune wrapping the library all sources are renamed from
`elpi_x.ml` to `x.ml`, and each module `Elpi_X` is now available as `Elpi.X`.
In particular clients must now use `Elpi.API` and `Elpi.Builtin`.

- FFI:
- `Conversion.TypeErr` now carries the depth at which the error is found, so
that the term payload can be correctly printed.
- Built in predicates are allowed to raise TypeErr in their body
- `BuiltInPredicate.Full` now returns a list of `extra_goals`, exactly as
`Conversion.embed` does making conversion code easy to call in the body
of a predicate.

## Version 1.3 (June 2019)

Elpi 1.3 requires OCaml 4.04 or newer