Skip to content

Releases: trealla-prolog/go

v0.6.2

12 Oct 15:57
Compare
Choose a tag to compare
  • Trying to wrangle Go mods.
  • Godoc.org is very confused about our package.

v0.5.2

12 Oct 15:33
Compare
Choose a tag to compare
  • Variable.Attrs is now nil instead of empty when no attrs
  • Update docs

Fix Compound text

12 Oct 15:06
Compare
Choose a tag to compare
  • Fix atoms in compound arguments for Compound.String

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