Skip to content

Releases: trealla-prolog/go

Bind variables in queries

12 Oct 10:45
Compare
Choose a tag to compare
  • Adds QueryOption type, queries can take options now
  • Add WithBind (takes a single variable and value) and WithBinding (takes a map of substitutions) to bind variables in a query
  • Add Prolog.QueryOnce for grabbing single answers without needing to iterate

Catch-up

11 Oct 20:19
Compare
Choose a tag to compare
  • Update Trealla to latest
  • Disambiguate atoms and strings.
  • Return stderr as well as stdout
  • More detailed Variable term
  • BigInt support
  • Make everything thread-safe

Query iterators

28 Sep 11:43
Compare
Choose a tag to compare
  • Queries are now returned as iterators.
  • Update embedded Trealla to guregu/trealla 0.5.1.

Add library path option

25 Sep 13:01
Compare
Choose a tag to compare
  • Add WithLibraryPath option, equivalent to the --library flag in Trealla.

Persistence and speedup

25 Sep 11:57
Compare
Choose a tag to compare
  • Interpreter is now persistent (same strategy as guregu/trealla-js#1)
  • Uses latest WASM build, which has a lot of speedups

v0.1.5

18 Aug 07:19
Compare
Choose a tag to compare
  • Update Trealla to v2.0.8

Full Changelog: v0.1.4...v0.1.5

v0.1.4

15 Aug 11:48
Compare
Choose a tag to compare
  • Update Trealla to v2.0.7

v0.1.3

14 Aug 18:01
Compare
Choose a tag to compare
  • Update Trealla to v2.0.6
  • Optimize Trealla binary with wasm-opt (much smaller now)

v0.1.2

11 Aug 11:14
Compare
Choose a tag to compare
  • Update Trealla to v2.0.3

v0.1.0

10 Aug 06:21
Compare
Choose a tag to compare
  • 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