Skip to content

Releases: trealla-prolog/go

Better marshaling

13 Oct 15:55
Compare
Choose a tag to compare
  • Add Marshal function to convert any Term to Prolog string
  • Better support for marshaling various types of slices
  • Better quoting logic for atoms

Add Scan

13 Oct 13:26
Compare
Choose a tag to compare
  • Add Scan method to Substitution to grab results more easily

Update Trealla

13 Oct 06:47
Compare
Choose a tag to compare
  • Update to latest release

Better Terms

12 Oct 17:40
Compare
Choose a tag to compare
  • Term is no longer a type alias
  • Compound.Functor is an atom
  • Fix variable attribute/residual goal marshaling

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.