Nemathode syntax
Nemathode is array based mathematical expression notation
The need to create an intermediate type of mathematical expressions, as close as possible to the native type of language (JavaScript as first experiment), in order to get the opportunity to bring the entire diversity of the ecosystem of mathematical libraries under one denominator
#
Type of operands#
Numbertype: number
#
Binary operatortype: string
#
Functiontype: string
First argument is a function name and the rest are parameters of this function. When you are placing an operand in expression you have to wrap it in square brackets
#
Math Constanttype: string
First argument is a function name and the rest are parameters of this function
#
Nested expressiontype: nemathode
Expression (based on structures above but still, it’s an operand). Combine all of the rules from above. Nesting depth is unlimited