Comments (3)
Umm. I think you can send an http request to execute the program in a sandboxed environment and return the output or errors. Or maybe just reimplement it in javascript, typescript or wasm.
from gen.
Or maybe just copy the whole source code and pass the entire text written in the playground to the Gen interpreter.
from gen.
How would you run a python file on the web browser?
from gen.
Related Issues (17)
- Building for Windows (Needs some fix, See comments below) HOT 8
- Library readline not available for Windows HOT 8
- Gen not handling exceptions from Python HOT 3
- Gen "InvalidSyntaxError" pointing on an empty character HOT 3
- Gen not producing error with an invalid one line for loop HOT 2
- Gen BinOpNode object has no attribute 'var_name_token' HOT 4
- If statement does not work with complicated variable access HOT 3
- Gen extend standard library HOT 2
- Make another gen implementation(Optional) HOT 24
- Suggestions for the import feature HOT 10
- Is it time to release 0.2.0? HOT 3
- Need for an official website HOT 2
- Implementation in Crystal lang HOT 1
- About the import function HOT 3
- Array as a key of a map does not work HOT 3
- Iterate an array HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gen.