37 packages found
Parse simple expressions, in a language of your own description
The shunting yard algorithm transforms a mathematical expression from infix notation into a reversed polish notation (postfix). This is a really extensible implementation.
Reverse Polish notation calculator
A simple logical parser as an npm module
Tokenizers for Infix strings. Only for SE-1222 (Data Structures) class, not for production use.
revers polish notation calculator
Quick calculation from string
An expression tree system for node.js. This library provides methods to parse Reverse Polish Notation (RPN) and useful functions to analyse and work with expression trees.
infix to postfix converter
Convert infix to RPN notation, and solve it
calculator for natural formula like "1+2+3" for result 6, support custom function like sqrt(20) also whatever you want
Command-line RPN Calculator.
Convert math expressions between postfix (RPN) and infix notations and evaluate them
Simple node.js expression parser and evaluator using shunting-yard and reverse polish notation algorithms
Forth style syntax layer/compiler & CLI for the @thi.ng/pointfree DSL