Mathematical expressions parser written in Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
eval.py
parser.py

README.md

Mathematical expressions parser

Parse and evaluate mathematical expression as a string. It supports the four basic math operations, functions, parentheses, and variables.

This is a tweaked version of a parser written by Blake O'Hare. You can find the original version here.

What does this tweak change?

You can now safely evaluate mathematical expressions including built-in functions such as cos, sin, exp, etc.

Want to contribute?

This is just a start. Please feel free to fork and pull requests!