FLP-GSP

General Search Parser

LALR(1) Grammer

Search:

Statements:

Relation:

Comparison

Str

GroupStart

GroupEnd

And

Or

Not

Equal

EqualCI

Greater

Less

Wildcard

Regex

Interpreter

Some example interpreters that maybe useful

Evaluate

Customizable in-code evaluating interpreter. Goto

An example could be found here

Concept

To evaluate a Search, you will need EvaluateRules and EvaluatePairs.

Mysql

Generating Mysql condition clause. Goto

An example could be found here

Concept

To generate Mysql condition clause from a Search, you will need MysqlRenames and MysqlTypes.