Skip to content

Commit 62dee2d

Browse files
author
hartsantler
committed
updated README
1 parent 4908b5f commit 62dee2d

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
Introduction
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
44
JavaScript. 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:
915
1. install NodeJS, python-js package, and write a build script.
1016
2. or install Python2 and use translator.py from this repo directly.
1117

0 commit comments

Comments
 (0)