RichardNooooh / CalculusEspresso

A non-CAS multi-variable calculus library for java
GNU General Public License v3.0
3 stars 0 forks source link

Refactor the entire parser to follow strict rules #4

Open RichardNooooh opened 4 years ago

RichardNooooh commented 4 years ago

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.

RichardNooooh commented 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

RichardNooooh commented 4 years ago

I don't know why I've refused to use regex, but it's about time I used it.