From 039675c025823d180610ca85b4745c361cab881d Mon Sep 17 00:00:00 2001 From: Greg Date: Wed, 28 Sep 2022 20:40:50 +0900 Subject: [PATCH] update readme --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d4fd678..0133a73 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,13 @@ Prolog interface for Go using [Trealla Prolog](https://github.com/trealla-prolog/trealla) and [Wasmer](https://github.com/wasmerio/wasmer-go). It's pretty fast. Not as fast as native Trealla, but pretty dang fast (2-5x slower than native). -**Development Status**: alpha 🤠 +**Development Status**: beta 🤠 ### Caveats -- Alpha status, API will change. -- ~~Queries are findall'd and won't return answers until they terminate.~~ +- Beta status, API will probably change. - Doesn't work on Windows ([wasmer-go issue](https://github.com/wasmerio/wasmer-go/issues/69)). - Works great on WSL. -- ~~Currently interpreters are ephemeral, so you have to reconsult everything each query (working on this)~~. ## Usage @@ -40,6 +38,11 @@ func main() { } ``` +## WASM Binary + +This library embeds the Trealla WebAssembly binary in itself, so you can use it without any external dependencies. +The binaries are currently sourced from [guregu/trealla](https://github.com/guregu/trealla), also [available from WAPM](https://wapm.io/guregu/trealla). + ## Thanks - Andrew Davison ([@infradig](https://github.com/infradig)) and other contributors to [Trealla Prolog](https://github.com/trealla-prolog/trealla). @@ -52,5 +55,6 @@ MIT. See ATTRIBUTION as well. ## See also +- [trealla-js](https://wapm.io/guregu/trealla-js) is Trealla for Javascript. - [ichiban/prolog](https://github.com/ichiban/prolog) is a pure Go Prolog. - [guregu/pengine](https://github.com/guregu/pengine) is a Pengines (SWI-Prolog) library for Go.