Evaluator

Category: Python - Miscellaneous

This is a complete rewrite of recipe 576790. While aiming to maintain similar functionality and continuing its implementation for self-academic purposes, a much cleaner parser / tokenizer and operator execution engine were developed. A slightly different math syntax is supported in this version, but it is arguably better and more capable than it previously was. Base prefixes are a feature now supported, and the single downgrade is calculating with integers instead of floats. Date: 04 April, 2012


Evaluator - Expressions - Math - Parser

Homepage: http://code.activestate.com/recipes/577469-evaluator-20/?in=lang-python

Developer: Stephen Chappell

License: Freeware

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

This script is a wrapper around DBAPI-compliant databases to support iteration and generator expression syntax for requests, instead of SQL.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


K-Pregs is a PHP library.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


Using eval() To Transform Symbolic Expressions script allows you to convert simple arithmetic expressions from infix to to converorm.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script acts like a stepping debugger to diagnose and fix your programs.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


GNU libmatheval is a library (callable from C and Fortran) to parse and evaluate symbolic expressions input as text.

developer Developer: ftp.gnu.org
license License: Freeware
operating systems Operating System: All


MathStudio is an open-source project conceived to make typing and resolution of mathematical expressions easier and more comfortable.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


elca (Extended Line CAlculator) evaluates mathematical expressions (more precisely Perl expressions).

developer Developer: physics.muni.cz
license License: Freeware
operating systems Operating System: All


Extremely fast, non-recursive, depth limited flatten with powerful control over which subtrees are to be expanded.

developer Developer: Kevin L. Sitze
license License: Freeware
operating systems Operating System: Windows


A small Python script that sets sound emulation variables for a particular USB microphone that you want to use, and sets the microphone volume level, since that is often set at zero in the Linux context.

developer Developer: Joseph Reagle
license License: Freeware
operating systems Operating System: Windows