Skip to content

pangard/py2js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

243 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py2js
-----

Python to JavaScript translator.

Installation
------------

git clone git://github.com/mattpap/py2js.git
cd py2js

Examples
--------

firefox examples/gol.html

And the game of life should show in the browser. If it doesn't, it's a bug. You
can generate that file using

python examples/gol.py > examples/gol.html

Tests
-----

./run_tests.py

will run all tests, that are supposed to work. If any test fails, it's a bug.

./run_tests.py -a

will run all tests including those that are known to fail (currently). It
should be understandable from the output.

License
-------

MIT, see the LICENSE file for exact details.

About

Python to JavaScript translator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.3%
  • Python 42.7%