klipse
klipse copied to clipboard
transpile-and-or-eval in a web worker
The optional use of web workers would provide potential solutions for issues (as discussed with @viebel)
-
option 0 : the transpilers/evaluators are in the main page, this is the option already available
-
option 1 : the transpiler works in a web worker and the eval is in the main page, which would avoid the main page to freeze during the transpilation (but there's still the evaluation part). Especially useful for the "heavy" transpilers e.g. clojurescript
-
option 2 : everything is in a web worker. This avoids any dom manipulation but it's still ok for textual outputs. This would provide a "safe klipse" variant.
If you successfully complete this Issue via WorskHub there's a $300 reward available. Start work via WorksHub Issue Details page.
@rodmoioliveira started working on this issue via WorksHub.
@Mortida started working on this issue via WorksHub.
Hi, @viebel. I am going to work on this issue. I'm aiming for the solution in option 2. Are there any additional specifications about this feature that you like to share with me?
Option 2 is fine.
Make sure your solution works with JavaScript snippets and also other languages. Also, make sure snippets are able to share data and code.
For instance,
- snippet 1 defines a function f, snippet 2 can call f
- snippet 1 defines a global var a, snippet 2 can acces a
Feel free to reach out for more details and questions
Has there been any progress on the issue?
A user started working on this issue via WorksHub.
@khzouroussama started working on this issue via WorksHub.
@suhitk001 started working on this issue via WorksHub.
The bounty is not available any more
On Sun, 24 Mar 2024, 01:34 workshub[bot], @.***> wrote:
@suhitk001 https://github.com/suhitk001 started working on this issue via WorksHub https://www.works-hub.com/issue/c2030508-1c11-4a72-81f8-c8a0c865c620.
— Reply to this email directly, view it on GitHub https://github.com/viebel/klipse/issues/298#issuecomment-2016631407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHJKPRRD644U6KGFAOJYKDYZYGPTAVCNFSM4EHFBZB2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBRGY3DGMJUGA3Q . You are receiving this because you were mentioned.Message ID: @.***>