Skip to content

davidbalbert/jisoncalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jisoncalc

A simple calculator using Jison. It has math, grouping, exponents, PI, e, variables, and a repl.

##Using

$ npm -g install jison
$ jison parser.y lexer.l
$ node calc.js
>> 5 + 5
=> 10
>> foo = 10 * 2
=> 20
>> bar = foo + 3
=> 23

For more on what it can do, see test.js. For now, all variables default to 0.

##License

jisoncalc is licensed under the terms of the GPLv2.

About

A simple calculator written using jison

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published