Closed jfmc closed 2 years ago
Thanks! I like your idea. I think it'd be very cool to have a common interface for multiple Prologs and also to embed Trealla/etc in other languages.
Not sure the best way to organize it. Maybe they should live in different repos? Submodules? 🤔 Feel free to submit a PR in the mean time and we can think about it. I'd like to play around with automatically building (WASM) Trealla with GitHub Actions as well, so maybe we can get some kind of automatic update thing working.
Given that this moved into trealla-prolog, should this issue be used be dropped?
Hmm, probably, yeah. I'm still interested in a common library in the future, maybe when things are more stable, and probably a different repo. It's a good idea.
Cool project! Would you accept contributions to support more Prologs? Or embed in other languages different than Go?
Back in 2019 we created a script to run/install many Prolog systems for the LP/CP programming contest:
https://github.com/lpcp-contest/docker-lpcpsys/blob/master/scripts/build.sh
It builds a docker file but maybe it is not hard to target WASM.