File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Introduction
22------------
3- PythonJS is a transpiler written in Python that converts Python into fast
3+ PythonJS is a transpiler written in Python that converts a superset of Python into fast
44JavaScript. It can be run with regular Python, or fully self-hosted within
5- NodeJS using Empythoned. PythonJS has been designed with speed and easy
6- integration with existing JavaScript code in mind.
5+ NodeJS using Empythoned. PythonJS extends the Python language with new keywords, syntax,
6+ and optional static typing, to increase performance and allow seamless
7+ integration with existing JavaScript libraries.
78
8- To convert your python scripts into javascript, you have two options:
9+ We are not trying to shoehorn Python as defined by the BDFL into JavaScript,
10+ our goal is to design something better than JavaScript so you can write larger
11+ and more complex programs in a Python-like language.
12+
13+
14+ To get started, you have two options:
9151 . install NodeJS, python-js package, and write a build script.
10162 . or install Python2 and use translator.py from this repo directly.
1117
You can’t perform that action at this time.
0 commit comments