Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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

Keywords

none

Install

npm i py

DownloadsWeekly Downloads

12

Version

0.0.0

License

none

Last publish

Collaborators

  • avatar