Thanks to @dcz-self again for a bunch of contributions!
Changes:
- Addition of
ScopedPrettifier
as convenience wrapper to prettify solutions associated withUniverseQuery
s (#31) - Addition of a few helpful clone instances (#33, #34)
Many thanks to @dcz-self for a bunch of contributions!
New features:
- The textual language now supports line comments with
%
(#26) VarScope
s now provide additional functions to inspect the variables in the scope (#23)TextualUniverse
is now captured immutably by prepared queries, so that multiple queries can be run concurrently against the universe (#27)
Breaking changes:
SolutionIter
now returnsSolution
s rather thanVec<_>
s, making it easier to relate goal variables to solution terms (#25)- The concrete symbol storage used by e.g. the parser and some resolvers is now abstracted behind a
SymbolStorage
trait (as part of the works for #27)
New features:
- Named variables and wildcards (#14)
- Integer arithmetic (see
logru::resolver::arithmetic
module) (#18) - Extensibility through custom predicate resolvers (see
Resolver
trait and the REPL example) (#17 and #19) - Cut (#20)
Major breaking changes:
- Numeric variable naming is no longer supported.
- Struct
CompiledRuleDb
is now calledRuleSet
. - Module
solver
is now calledsearch
. - The
Universe
type is now roughly subsumed by theSymbolStore
andRuleResolver
types. - The
NamedUniverse
type has been absorbed bySymbolStore
, which now provides allocating symbol IDs and naming them in one.
Bug fixes:
- Occurs check did not follow bound variables (fixed in #16)
Initial release