Expression Evaluator

  •        81

This is an article on how to build a basic expression evaluator. It can evaluate any numerical expression combined with trigonometric functions for now. Constants like e and pi are also supported.

http://expreval.codeplex.com/

Tags
Implementation
License
Platform

   




Related Projects

Expression Evaluator + aggregate functions support

  •    CSharp

Simple library for expressions evaluation that supports variables in expression and aggregative functions to parse and evaluate expression against tabular data.

Expression Blend Samples

  •    Silverlight

A collection of samples and utilities for use in Expression Blend written by members of the Expression Blend team.

Fast Lightweight Expression Evaluator

  •    

A .NET expression parser and evaluator that uses a custom compiler and lightweight codegen to ensure that expression evaluation is fast and efficient.

Lambda Expression Parser

  •    ASPNET

Light weight expression parser supports parsing runtime expression string compatible with C# 2.0 syntax to lambda expression.

emoji-regex - A regular expression to match all Emoji-only symbols as per the Unicode Standard.

  •    Javascript

emoji-regex offers a regular expression to match all emoji symbols (including textual representations of emoji) as per the Unicode Standard.This repository contains a script that generates this regular expression based on the data from Unicode Technical Report #51. Because of this, the regular expression can easily be updated whenever new emoji are added to the Unicode standard.


Expression Tree Visualizer for VS 2010

  •    

The entire project is a "visualizer" that displays the expression tree nodes and node attributes. only important attributes are selected to be appended to the visualization tree in order to keep it simple and useful.

Colorful Expression

  •    

The Colorful Expression project is an add-in for Expression Blend and Expression Design that brings you the Adobe Kuler community directly into your toolbox. It adds a new palette to your design environment, making it easy to leverage the community to find the perfect color th...

re2j - linear time regular expression matching in Java

  •    Java

RE2 is a regular expression engine that runs in time linear in the size of the input. RE2/J is a port of RE2 to pure Java.Java's standard regular expression package, java.util.regex, and many other widely used regular expression packages such as PCRE, Perl and Python use a backtracking implementation strategy: when a pattern presents two alternatives such as a|b, the engine will try to match subpattern a first, and if that yields no match, it will reset the input stream and try to match b instead.

General Expression Library

  •    CSharp

GEXL, General EXpression Library, is a C# library that abstracts typed expression trees suitable for representing any sort of language; GEXL trees are safely extensible with both operations and new data types, thus solving quot;the expression problemquot;.

cronexpr - Cron expression parser in Go language (golang)

  •    Go

Given a cron expression and a time stamp, you can get the next time stamp which satisfies the cron expression. In another project, I decided to use cron expression syntax to encode scheduling information. Thus this standalone library to parse and apply time stamps to cron expressions.

learn-regex - Learn regex the easy way

  •    

Regular expression is a group of characters or symbols which is used to find a specific pattern from a text. A regular expression is a pattern that is matched against a subject string from left to right. The word "Regular expression" is a mouthful, you will usually find the term abbreviated as "regex" or "regexp". Regular expression is used for replacing a text within a string, validating form, extract a substring from a string based upon a pattern match, and so much more.

learn-regex - Learn regex the easy way

  •    

Regular expression is a group of characters or symbols which is used to find a specific pattern from a text. A regular expression is a pattern that is matched against a subject string from left to right. The word "Regular expression" is a mouthful, you will usually find the term abbreviated as "regex" or "regexp". Regular expression is used for replacing a text within a string, validating form, extract a substring from a string based upon a pattern match, and so much more.

oniguruma - regular expression library

  •    C

Oniguruma is a modern and flexible regular expressions library. It encompasses features from different regular expression implementations that traditionally exist in different languages. Character encoding can be specified per regular expression object.

PEGTL - Parsing Expression Grammar Template Library

  •    C++

The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency C++ header-only parser combinator library for creating parsers according to a Parsing Expression Grammar (PEG). Grammars are written as regular C++ code, created with template programming (not template meta programming), i.e. nested template instantiations that naturally correspond to the inductive definition of PEGs (and other parser-combinator approaches).

SSIS Expression Editor & Tester

  •    

An expression editing and testing tool for SQL Server Integration Services (SSIS). It also offers a reusable editor control for custom tasks or other utilities.

Regex Match Maker (RegExmm)

  •    C++

Multi-platform regular expression (regex) creation. Highlights regex matches, and regex groups for quick regular expression creation. Save/load regular expression sessions. Create robust regex patterns on any major platform. Supports PCRE and wxRegEx.

BioNetwork Bench

  •    

BioNetwork Bench is a flexible interactive database querying system for storing and manipulating gene expression data and genetic networks, constructing networks from expression data and iteratively querying multiple networks and expression datasets.

The Boolean Expression Reducer (BExpred)

  •    Java

The Boolean Expression Reducer provides the user with various tools to visualize and analyze boolean expressions. Given an expression, it also reduces it to its Sum of Products and Product of Sums form.

Cron Expression Descriptor

  •    

"Translate" a Cron Expression in a human readable format. Support databinding, and creation of the expression and Quartz.NET jobs scheduler

LinqFu

  •    CSharp

A collection of utilities and components for interacting with and creating expression trees, dynamic delegates, and runtime expression conversions.