trealla-prolog / go

Trealla Prolog embedded in Go using WASM
MIT License
79 stars 3 forks source link

Document / automate build process for Trealla binary #3

Closed guregu closed 1 year ago

guregu commented 2 years ago

Currently I'm just kind of shoving the modules from lib/ into Trealla and building it. Need to improve this by maybe: automating this process, or including json/toplevel in the main project, or work around this with better consulting.

guregu commented 2 years ago

For now, here's a diff you can apply to Trealla: https://github.com/trealla-prolog/go/blob/master/lib/shim.diff I symlink the .pl files in lib/ here to the Trealla library/ folder.

guregu commented 1 year ago

There's an automated build process at https://github.com/guregu/trealla now. Need to make a Makefile or something to grab it from WAPM but no need for shims in here anymore.