Transpilation to Javascript

27 views
Skip to first unread message

Zeger Hendrikse

unread,
Mar 3, 2025, 5:44:11 AMMar 3
to Glowscript Users
Dear readers,

Does anybody know whether it is possible to generate the transpiled Javascript on your local machine, and if so, how? 
Currently I used a manual copy-paste approach from the "share or export this program" on the glowscript.org site, but it would be great if I could somehow automate this with a script on my local machine.

Thanks in advance,

Zeger Hendrikse

Steve Spicklemire

unread,
Mar 3, 2025, 5:59:32 AMMar 3
to 'Jim D.' via Glowscript Users, Steve Spicklemire
The current implementation does all the work in your browser. While in principle it would possible to use nodejs to perform the same function outside of a browser, that’s not been done at this point.

The quickest way to automate might be to use something like Selenium:

https://www.selenium.dev/
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "Glowscript Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to glowscript-use...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/glowscript-users/40e7884e-53b0-4288-9547-6f9e75d0ddcfn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages