-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python #28
Comments
Brython the following pseudo code from https://github.com/brython-dev/brython/wiki/How%20Brython%20works suggests we could hotwire it def brython():
<get Brython scripts in the page>
for script in scripts:
# Translate Python script source to Javascript
root = __BRYTHON__.py2js(script.src)
js = root.to_js()
if hasattr(__BRYTHON__, "VFS") and __BRYTHON__.has_indexedDB:
# If brython_stdlib.js is included in the page, the __BRYTHON__
# object has an attribute VFS (Virtual File System)
for module in root.imports:
tasks.append([inImported, module])
tasks.append(["execute", js])
loop() |
Heavy but Mozilla and full implementation https://github.com/iodide-project/pyodide No turtle but super solid |
Skulpt the library that Trinket.io uses |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: