Parsing and evaluating infix algebraic expressions.
Parsing and evaluating infix algebraic expressions. https://en.wikipedia.org/wiki/Shunting-yard_algorithm
Number literals start with these characters
Number literals start with these characters
Characters found in an identifier
Characters found in an identifier
Operator precedences.
source: http://en.cppreference.com/w/cpp/language/operator_precedence
Operator precedences. source: http://en.cppreference.com/w/cpp/language/operator_precedence
(read-number characters)
Reads a number literal from a sequence. Returns a tuple of read number (Double or Long) and the sequence of remaining characters.
Reads a number literal from a sequence. Returns a tuple of read number (Double or Long) and the sequence of remaining characters.
(read-string-literal characters)
Reads a string literal from a sequence. Returns a tuple.
Reads a string literal from a sequence. Returns a tuple. - First elem is read string literal. - Second elem is seq of remaining characters.
(tokenize original-string)
Returns a sequence of tokens for an input string
Returns a sequence of tokens for an input string
(tokens->rpn tokens)
Classic Shunting-Yard Algorithm extension to handle vararg fn calls.
Classic Shunting-Yard Algorithm extension to handle vararg fn calls.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close