-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing documentation for syntax (parser) #43
Comments
And btw, @fkleon what is this supposed to represent? math-expressions/test/parser_test_set.dart Line 157 in ea54ff7
Afaic, |
Hi @creativecreatorormaybenot - thanks for your questions and reports, always great to get feedback from users! I agree that the parser syntax documentation is mostly missing, I'll add some specific documentation to the appropriate expression classes. As you've discovered the unit tests are the source of truth at the moment. Regarding your specific question, math-expressions implements two logarithm functions:
Hope that answers your question, I'll leave the ticket open though for the documentation improvements. |
This is not explicitly documented yet, but starting from version 2.0.0 the parser should be compatible with the |
@fkleon These news on the parser are absolutely amazing! Thank you ✨ We actually also have some unit tests for expression equality (using your package for evaluation) and I wanted to add a test for I also realized how |
I think it is awesome that functions like
Log
are supported 🙌Problem
However, I cannot seem to figure out how to use something like
log_e(x)
.I would expect this to use
e
as the base and be equivalent toln(x)
, however, it throws during parsing.The text was updated successfully, but these errors were encountered: