Releases: fatho/logru
Releases · fatho/logru
v0.4.1 - "Early Christmas"
v0.4.0 - "Concurrent Queries"
Many thanks to @dcz-self for a bunch of contributions!
New features:
- The textual language now supports line comments with
%(#26) VarScopes now provide additional functions to inspect the variables in the scope (#23)TextualUniverseis now captured immutably by prepared queries, so that multiple queries can be run concurrently against the universe (#27)
Breaking changes:
v0.3.0 - "Cutting Edge"
New features:
- Named variables and wildcards (#14)
- Integer arithmetic (see
logru::resolver::arithmeticmodule) (#18) - Extensibility through custom predicate resolvers (see
Resolvertrait and the REPL example) (#17 and #19) - Cut (#20)
Major breaking changes:
- Numeric variable naming is no longer supported in surface language.
- Struct
CompiledRuleDbis now calledRuleSet. - Module
solveris now calledsearch. - The
Universetype is now roughly subsumed by theSymbolStoreandRuleResolvertypes. - The
NamedUniversetype 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
This release is the first version of this crate that has been pushed to crates.io: https://crates.io/crates/logru
It features:
- A small and fast solver core implementing depth-first search.
- A textual language for logic terms inspired by Prolog.
- A few examples on how to use the library, including a small REPL for interactively exploring a set of rules.