-
Notifications
You must be signed in to change notification settings - Fork 46
Releases: LPCIC/elpi
3.7.1
14e39f2 CHANGES:
Requires Menhir 20211230 and OCaml 4.14 or above on Linux, Windows and
MacOS.
- API:
- Fix:
clause_of_termnow correctly computes the digest of the whole
clause, including its attributes
- Fix:
Assets 3
3.7.0
cecbe99 CHANGES:
Requires Menhir 20211230 and OCaml 4.14 or above on Linux, Windows and
MacOS.
-
REPL:
elpitakes zero or one file (not more) when executingelpi -depsprints a dot file with the direct dependencies of given files.
Example:elpi -deps *.elpi | xdot -
-
API:
- Change: separate API for scoping AST or builtins. Scoping AST can return more
than one scoped program, in particular it returns all accumulated code
with file name and digest. Incidentally it also computes the dependencies
of each file. - New: api to get the dependencies of a scoped program or compilation unit
- New: api to map compilation units and apply a substitution on the CData
they contain
- Change: separate API for scoping AST or builtins. Scoping AST can return more
Assets 3
3.6.2
0eaca7f CHANGES:
Requires Menhir 20211230 and OCaml 4.14 or above on Linux, Windows and
MacOS.
- Compiler:
- Change: do not store in the unit the whole program signature (base + unit),
since this grows quadratically and is a problem in Rocq since some programs
are made of thausands of units.
- Change: do not store in the unit the whole program signature (base + unit),
Assets 3
3.6.1
40b90b6 CHANGES:
Requires Menhir 20211230 and OCaml 4.14 or above on Linux, Windows and
MacOS.
- Typechecker:
- Change: when expcting
proporlist propuse an excted type of 0 arity - Fix: improve error message in case of failed overloading resolution
- Change: when expcting
Assets 3
3.6.0
e68c756 CHANGES:
Requires Menhir 20211230 and OCaml 4.14 or above on Linux, Windows and
MacOS.
- FFI:
- Change: Variadic predicates can generate extra goals
Assets 3
3.5.0
0ab09b7 CHANGES:
Requires Menhir 20211230 and OCaml 4.14 or above on Linux, Windows and
MacOS 14 (Sonoma). MacOS 15 (Sequoia) and later require OCaml 5.4.
-
Typechecker:
- Change: disallow undeclared data constructors and predicates
-
Compiler:
- New allow builtins to be declared in extension units (not just in the
base)
- New allow builtins to be declared in extension units (not just in the
-
Typechecker:
- Fix error messages when there is an arity mismatch, i.e. suggest some
arguments may be missing - Change symbols without a declared signature raise a fatal error. Only
undeclared predicates are tolerated, and only when the inferred type is
unambiguouslyprop
- Fix error messages when there is an arity mismatch, i.e. suggest some
Assets 3
3.4.5
af8ef2a CHANGES:
Requires Menhir 20211230 and OCaml 4.13 or above.
- Builtin:
- Fix
pattern_matchbuiltin had the arguments in wrong order (w.r.t. the
documentation). The pattern is now the second argument.
- Fix
Assets 3
3.4.4
c44c0ce CHANGES:
Requires Menhir 20211230 and OCaml 4.13 or above.
- Compiler:
- Fix bug involving spilling and sigma
Assets 3
3.4.3
a64377f CHANGES:
Requires Menhir 20211230 and OCaml 4.13 or above.
-
Language:
- New attribute
:noocto disable occur check
- New attribute
-
Stdlib:
- New
unsound_unifperforming unification without occur check - New
std.fsetandstd.fmapthat work on ground terms and
disable occur check
- New
-
Compiler:
- Change raise an error in case of type/typeabbrev collision
-
Parser:
- Fix associativity of
=!=>(was not the same as==>)
- Fix associativity of
Assets 3
3.4.2
c114619 CHANGES:
Requires Menhir 20211230 and OCaml 4.13 or above.
- Runtime:
- Fix bug concerning CHR rules firing on non-fully-dereffed terms