/PyCow

A Python to JavsScript with MooTools converter

Primary LanguagePythonApache License 2.0Apache-2.0

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.