Login   Register  
PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-08-19 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 181 All time: 7,400 This week: 1,325Up
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: 7 packages by
Country: Spain Spain
Age: 40
All time rank: 148732 in Spain Spain
Week rank: 630 Up15 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
  Plain text file parser-exception.php Class ParserException class
  Plain text file parser.php Class Parser class
  Plain text file tokenizer.php Class Tokenizer class

 Version Control Unique User Downloads Download Rankings  
 0%Total:181All time:7,400
 This week:0This week:1,325Up
 User Comments (1)  
1 year ago (Rahul Shambharkar)