Open RichardNooooh opened 4 years ago
I am currently looking into this blog post and this "Backus-Naur form" stuff. Here are the links: https://levelup.gitconnected.com/create-your-own-expression-parser-d1f622077796 https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form
I don't know why I've refused to use regex, but it's about time I used it.
While the current parser appears to work with standard arithmetic expressions, it does not combine nicely with calculus expressions which needs several arguments like the inner expression and the interval/number to calculate those expressions over.