expr-eval icon indicating copy to clipboard operation
expr-eval copied to clipboard

Mathematical expression evaluator in JavaScript

Results 59 expr-eval issues
Sort by recently updated
recently updated
newest added

It's possible to extend an array using `||` as the docs say, but either I'm dumb, or it's not yet possible to use index assignment on arrays like `a[1] =...

Hi, I regularly have dots in my variable names (e.g., Item.001), but expr-eval throws an error when parsing these. Can a dot within an expression be escaped? I tried \\....

use new Parser({overrideMember:function(value,memberName){...}}) to provide a function to override member function. Parsers with overridden "." will also not simply "." expressions

Hi, Would it be possible to add a Asynchronous evaluator ? I am currently using this libray to call a couple of functions dynamically, however I do have a a...

enhancement
evaluator

Hello! I like this library very much. Percentile is not supported in recent use, I want it to Judge% followed by numbers using Mod function, if there is no or...

This issue was originally reported in https://github.com/n-riesco/ijavascript/issues/240 . The Node.js CLI doesn't use `toString` to show objects as a string. This makes the use of `expr-eval` in the Node.js CLI...

When declaring '&&' in the "binaryOps" field an error is thrown when parsing a binary '&&' expression: ```js import { Parser } from 'expr-eval'; const parser = new Parser(); parser.binaryOps[...

enhancement
parser

Would it be possible to create a mapper function that returns a new object with new values? Like we would do in JS: ` .map((d) => ({a: d.alpha, b: d.beta}));...

Hi, I have been using expr-eval to evaluate logical formulas that include some basic calculations. I am now trying to introduce functions in my formulas to meet some new requirements....

Hi, I am looking for a way to get some syntax error information from the parser in case there is any. Something like the position of the offending character or...

enhancement
parser