Mep is a project mainly written in ..., it's free.
Working with mathematical expressions. Build ast, optimisation and evaluate