2.1.0 • Published 10 years ago

shunting-yard v2.1.0

Weekly downloads
3
License
GPL3
Repository
github
Last release
10 years ago

Usage

npm install shunting-yard
var sy = require("shunting-yard");

// 8
var result = sy.compute("2 * (2 * (1 + 1))");

See test.js for the usage of readNumber, readToken, readTokens, shuntingYard and evaluatePostfix.

Feel free to report any issues :)

License

GPL3

2.1.0

10 years ago

2.0.0

10 years ago

1.0.0

11 years ago

0.0.6

11 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago