Transcrypton at runtime in the browser #905
Unanswered
ficocelliguy
asked this question in
Q&A
Replies: 1 comment
-
|
Right now the only way to run Transcrypt is via the command line. It is not an importable library. Here is an example where transpiling from the browser was made possible by offloading to the server. There is a brief explanation discussed on issue #828 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm thinking about a project that would involve handling arbitrary python scripts and transcrypting them to js in the browser at runtime, and I came across this library.
I see that the core parts of it are designed to be run in python from the command line. However, would it be possible to make a JS version of the core transcryption library using CLI transcrypt, or is there some limitations that cannot be translated? Alternatively, would it be possible for me to make a slightly modified version of the core files that could be run in the browser using pyscript, to be able to transpile from python to js at runtime?
Beta Was this translation helpful? Give feedback.
All reactions