-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[emscripten] build with emscripten #16
base: main
Are you sure you want to change the base?
Conversation
So fun :D. Any chance you'd be up for wrapping the invocation to mirror the solver.planning.domains API format? That way, the online editor could be configured to load/use things locally (to the client). Would be mighty helpful for courses using the editor. |
@haz Yes, definitely! |
ad7a6f6
to
a339d1b
Compare
a339d1b
to
3906c6b
Compare
@haz We pushed the necessary changes for running the translator in the browser. |
Nice! We already have pyodide loading in the editor for tarski parsing, so it's already ready to go. Have the wrap to mirror the online solver API? |
27d6a14
to
c2a93e6
Compare
Hi @PatrickSpeicher, sorry that this took so extraordinarily long for us to look into this. One major reason why no-one took this up earlier is probably that the emscripten support would have to be maintained in the long term and we do not have the expertise to do so. Also some of the changes (in particular the restructuring of the translate component and the --input parameter) are rather controversial and we would need to work together to explore alternatives. In the (very) long term, we also plan to join the translator and search component (with a C++ implementation and Python interface), and I don't see that anyone from the team would be interested to do the necessary changes to the emscripten support. So before we dive deeper into a discussion, three quick questions:
Best, |
We implemented all necessary changes to compile FastDownward with emscripten and run the resulting wasm binary in a browser.
Our work was initially presented at ICPAPS'20. For more details, visit: https://sites.google.com/view/planning-in-the-browser/startseite
We added a README and example files inside src/javavascript/ explaining the process of compiling the project with emscripten and testing it in the browser.
Feel free to contact me via email: [email protected]