node package manager

py

python.js

Years ago I wrote this for the browser while reading this article about top-down parsers in python.

I got as far as making it into a nifty little calculator at least.

example

> var py = require('py')
> py('2**4')
<Int 16>
> py('"do\\"om"')
<String "do\\\"om">
> py('1+2+3') 
<Int 6>

install

With npm do:

npm install py