Releases: trealla-prolog/go
Releases · trealla-prolog/go
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
v0.1.4
v0.1.3
v0.1.2
v0.1.0
- Refactor a bit: no more Result status, return ErrFailure or ErrThrow instead.
- Catch syntax errors (and return ErrThrow).
Full Changelog: v0.0.9...v0.1.0