A Python to JavsScript with MooTools converter
Python JavaScript
Latest commit 1e2c9a1 Dec 8, 2009 @p2k Initial commit; moved from pygowave repository
Also support for the Array() datatype has been added.

README.rst

PyCow

A Python to JavaScript with MooTools converter.

Project Lead/Maintainer:
Patrick Schneider <patrick.p2k.schneider@googlemail.com>

License

PyCow is licensed under the Apache License, Version 2.0; see the LICENSE file.

Description

PyCow translates Python code to JavaScript code with the "MooTools way of class declaration".

It generally depends on the fact that JavaScript shares almost all of its semantics with Python, so PyCow just has to change the syntax most of the time.

Installation

PyCow is a pure-python library and is installed via the Python Distribution Utilities ("Distutils"). See http://docs.python.org/install/index.html#install-index.

Examples

Some explanatory examples can be found on http://wiki.github.com/p2k/PyCow/examples.