std.expr

Provides a framework for evaluating expressions.

  • Author: Edward Jones
  • Date: 2021-09-25

Source file

expr

Takes a string (or document pointer), parses it and evaluates it as an expression.

  • Param str: The text to parse and evaluate

Returns: An integer which was evaluated from the expression represented by str or nil on failure

expr = (s) -> ...