Pages

Monday, 27 January 2014

Oink-把python翻译为js的工具

Oink - a Python to Javascript translator

Oink attempts to translate Python source to idiomatic Javascript.
It consists of the translator itself and a JS runtime.

Examples

Here are a couple of examples from Project Euler

from https://github.com/alecthomas/oink