PHP Classes

Ses Parser: Parse a string with an expression of any type

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 208 This week: 1All time: 8,386 This week: 560Up
Version License PHP version Categories
ses-parser 1.0BSD License5.3PHP 5, Parsers
Description 

Author

This package can be used to parse a string with an expression of any type.

It provides a base parser class that processes a string with an expression.

The expression string is divided into tokens processed by a tokenizer class.

The base class must be extended by specific sub-class that defines how to combine the tokens of the string to evaluate the result of the expression.

Picture of Gonzalo Chumillas
Name: Gonzalo Chumillas <contact>
Classes: 8 packages by
Country: Spain Spain
Age: 49
All time rank: 135129 in Spain Spain
Week rank: 411 Up13 in Spain Spain Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imageclasses (1 directory)
Accessible without login Plain text file test.php Example parsing a mathematical expression

  Files folder image Files  /  classes  
File Role Description
Files folder imageparser (3 files)

  Files folder image Files  /  classes  /  parser  
File Role Description
  Accessible without login Plain text file parser-exception.php Class ParserException class
  Accessible without login Plain text file parser.php Class Parser class
  Accessible without login Plain text file tokenizer.php Class Tokenizer class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:208
This week:1
All time:8,386
This week:560Up
User Comments (1)
good
10 years ago (Rahul Shambharkar)
70%StarStarStarStar