py

0.0.0 • Public • Published

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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i py

    Weekly Downloads

    29

    Version

    0.0.0

    License

    MIT/X11

    Last publish

    Collaborators

    • nopersonsmodules