Issue986

Title emscripten support
Priority feature Status in-progress
Superseder Nosy List Patrick.Speicher, florian, haz, jendrik, malte
Assigned To Patrick.Speicher Keywords
Optional summary
Our suggested changes to the code base to enable emscripten support: 
https://github.com/aibasel/downward/pull/16

Created on 2020-12-15.16:43:44 by Patrick.Speicher, last changed by Patrick.Speicher.

Summary
Our suggested changes to the code base to enable emscripten support: 
https://github.com/aibasel/downward/pull/16
Messages
msg10248 (view) Author: Patrick.Speicher Date: 2021-04-22.14:00:45
I thank Jendrik and Christian for their comments.
We managed to run the translator in the browser using Pyodide. 
After the student who did this has finished writing his Bsc thesis, we can include the necessary changes for running the translator in Pyodide to the Pull request, if you want.
msg10246 (view) Author: haz Date: 2021-04-15.14:30:37
Having a browser-side PDDL parser/grounder would be phenomenal, btw. Not just 
for FD-in-the-browser, but for anything that we'd like to do in the editor 
plugins. Spent the last semester guiding a student team to use the STRIPS npm 
lib, but there are issues with the grammar and scalability bites us 
immediately (naive grounding instead of datalog).

Just wanted to loft my voice on the stack of users that would love to see a 
browser-side parse+ground!
msg10245 (view) Author: jendrik Date: 2021-04-15.14:10:50
We discussed this today in the Fast Downward meeting and came to the conclusion that running Fast Downward in the browser will only be really interesting if the translator can be run in the browser as well. This could for example be achieved with a Python implementation for the browser (e.g., Brython). There are also plans for converting the translator to C++, but these are very much long-term plans. If you'd like to work on supporting the full planner in the browser, we think it would be best to start with a discussion about the implementation strategy.
History
Date User Action Args
2021-04-22 14:00:45Patrick.Speichersetmessages: + msg10248
2021-04-15 14:30:38hazsetmessages: + msg10246
summary: Our suggested changes to the code base to enable emscripten support: https://github.com/aibasel/downward/pull/16 -> Our suggested changes to the code base to enable emscripten support: https://github.com/aibasel/downward/pull/16
2021-04-15 14:10:51jendriksetmessages: + msg10245
2020-12-15 17:14:46maltesetnosy: + malte
2020-12-15 16:43:57Patrick.Speichersetassignedto: Patrick.Speicher
2020-12-15 16:43:44Patrick.Speichercreate