offline Hedy #5067
declann
started this conversation in
Language Ideas
offline Hedy
#5067
Replies: 1 comment
-
Hi Declan! Sorry I missed this before because of the hackathon. Having an offline Hedy would be an amazing addition to what we support now, and I would love to have it. Here are a few of my random thoughts about it for safekeeping, not sure if they will be useful to you. An offline app would be great because it would allow kids to run Hedy if there is no internet access (which is more common than you might think!) It could also be a great first step to a real app. The problems that we would have to solve are, in order of my worry about them :)
(TBD later...) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I was searching about offline, it appears on previous meeting notes: https://discord.com/channels/978580085491785769/1085167289239871538/1085195592050950174
I think never made it over to GitHub, but I don't know about updates after the notes (March 2023).
If it's a desirable feature then maybe we can gather info and ideas here.
There is hedy-offline by Mustafa which is an installable app.
First from meeting notes in Feb:
And also in April (I presume this is related):
I'm not well versed on Hedy architecture details but I guess someone can point out what I miss with my own thoughts below!
I notice a JS version of Lark: Lark.js but it hasn't been updated in 10 months. Not sure if it will work with Hedy grammers, or if grammers require Lark- or recent-Lark-only features.
If we can get ASTs using JS, then codegen for Skulpt remains. It looks like Noel considered that from his last point above, so essentially converting hedy.py to JS? Which would not be trivial and first need to figure how to do the walking.
Alternatively, running the Python for necessary bits in JS through Pyodide (I notice PyScript also but I don't know how that maps to these needs)
Please correct errors and share other ideas!
Declan
Beta Was this translation helpful? Give feedback.
All reactions