Releases: LPCIC/elpi
Releases · LPCIC/elpi
1.14.1
1.14.0
CHANGES:
- Runtime/FFI:
- Fix handling of eta expanded unification variables. Many thanks to
Nathan Guermond for testing this tricky case. - Change
Rawdata.Constants.eqc
to a builtin - Fix
Rawdata.Constants.cutc
has always been a builtin - Fix compatibility with OCaml multicore, no more
PtrMap
- Fix handling of eta expanded unification variables. Many thanks to
- API:
- New
FlexibleData.WeakMap
to link unification variables with host
data based on OCaml'sEphemeron
- Change
Conversion.extra_goals
is now an extensible data type with one
standard constructorConversion.Unify
taking two terms - New
RawData.set_extra_goals_postprocessing
can be used to
post process the extra goals generated by an FFI call.
One has to translate extensions to theextra_goals
datatype to
RawData.RawGoal
(orConversion.Unify
), but can also take global
actions like cancelling out useless or duplicate goals - Change
Setup.init
to take in input a~file_resolver
rather than a list
of~paths
and a~basedir
. A custom file resolver can use some logic
from the host application to find files, rather than an hardcoded one - New
Parse.std_resolver
building a standard resolver (based on paths) - Change signature of
Parse.resolve_file
making?cwd
explicit
- New
- Library:
- Better error messages in
std.nth
declare_constraint
is nowvariadic any prop
, so that one can pass
variables of different types as keys for the constraint. A list of variables
(of the same type) is still supported.
- Better error messages in
1.13.8
v1.13.7
v1.13.6
v1.13.5
v1.13.4
v1.13.3
v1.13.2
v1.13.1
CHANGES:
- API:
- New
gc.get
andgc.set
for reading and writing GC settings - New
gc.minor
- New
gc.major
- New
gc.full
- New
gc.compact
- New
gc.stat
- New
gc.quick-stat
- New
min
andmax
operators for theis
builtin, they work on
int
andfloat
- Rename
rex_match
->rex.match
- Rename
rex_replace
->rex.replace
- Rename
rex_split
->rex.split
- Rename
counter
->trace.counter
- New
- FFI:
- New
Builtin.unspec
type to express optional input
- New