Python language interpreter in Javascript. Work in Progress
TBD
Reference in your program:
var jpyscript = require('jpyscript');
TBD
git clone git://github.com/ajlopez/JPyScript.git
cd JPyScript
npm install
npm test
TBD
- Samples
Python and JavaScript:
- Why Are There So Many Pythons?
- Brython: A Python 3 implementation for client-side web programming
- Skulp: Python. Client side
- PythonJS Javascript translator written in Python
- Brython vs PythonJS Performance and implementation comparison
- Pythonium Python 3 to Javascript translator written in Python
- Transcrypt
Python:
- pyjs: a Rich Internet Application (RIA) Development Platform for both Web and Desktop
- Notes on Python variable scope
- Python Variable Scope
- Python variable scope question
- Python: How to make a cross-module variable?
- Python exec
- PyPy.js PyPy compiled to JavaScript
- PyPy.js: First Steps
- PyPy.js online
- Simple Statements
- Compound Statements
- Classes
- Importing Python Modules
- Defining private module functions in python
- Python 3 Data Model\
- The Python "with" Statement by Example
- PEP 343: The "with" Statement
- The Import System
- A Guide to Python's Magic Methods
Node.js vm, contexts, require:
- https://github.com/joyent/node/blob/master/lib/module.js (see _nodeModulePaths)
- Testing Private State and Mocking Dependencies
- Node.js Virtual Machine (vm) Usage
- http://nodejs.org/api/vm.html
Running scripts in browser:
MIT
Feel free to file issues and submit pull requests — contributions are welcome.
If you submit a pull request, please be sure to add or update corresponding
test cases, and ensure that npm test
continues to pass.