Releases: trealla-prolog/go
Releases · trealla-prolog/go
v0.6.2
v0.5.2
Fix Compound text
- Fix atoms in compound arguments for
Compound.String
Bind variables in queries
- Adds
QueryOption
type, queries can take options now - Add
WithBind
(takes a single variable and value) andWithBinding
(takes a map of substitutions) to bind variables in a query - Add
Prolog.QueryOnce
for grabbing single answers without needing to iterate
Catch-up
Query iterators
- Queries are now returned as iterators.
- Update embedded Trealla to guregu/trealla 0.5.1.
Add library path option
- Add
WithLibraryPath
option, equivalent to the--library
flag in Trealla.
Persistence and speedup
- Interpreter is now persistent (same strategy as guregu/trealla-js#1)
- Uses latest WASM build, which has a lot of speedups
v0.1.5
- Update Trealla to v2.0.8
Full Changelog: v0.1.4...v0.1.5