Skip to content

anandology/pyjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

pyjs: Python to Javascript compiler

pyjs compiles Python code into Javascript.

>>> import pyjs

>>> print pyjs.compile("def square(x): return x*x")
function square(x) {
    return x*x;
}

Release Plan

0.1

  • Compiles all python code
  • Not supported: imports, classes, yield, list comprehensions, generator expression, nested scopes, keyword arguments, ellipses, exec

0.2

  • nested scopes
  • keyword arguments

About

Python to Javascript compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published