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 Bookmark in
  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: 188 All time: 7,511 This week: 1,335Up
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: 40
All time rank: 132527 in Spain Spain
Week rank: 375 Up11 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:188All time:7,511
 This week:0This week:1,335Up
 User Comments (1)  
1 year ago (Rahul Shambharkar)