PHP Classes
Icontem

Class: Simple RPN Interpreter


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Arturo Gonzalez-Mata Santana  >  Simple RPN Interpreter  >  Download  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Simple RPN Interpreter Support forum
Base name: rpn
Description: Evaluate reverse polish notation expressions
Related top rated classes:
Version: -
Required PHP version: 4.0.0
License: GNU General Public License (GPL)
All time users: 300 users
All time rank: 4118
Week users: 1 user
Week rank: 3715
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Arturo Gonzalez-Mata Santana
Name: Arturo Gonzalez-Mata Santana <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Spain Spain - PHP jobs in Spain
Home page: http://www.phpsqlasp.com/
Age: 52
All time rank: 2212
Week rank: 1784

Innovation Award

PHP Programming Innovation award nominee
August 2007
Number 3
RPN (Reverse Polish Notation) is a way to present the operands and operators of mathematical expressions.

RPN has been most notably used in Hewlett-Packard scientific calculators.

This class provides a solution to parse and evaluate mathematical expressions presented with RPN.

Manuel Lemos

Groups

Group folder image Emulators System or language emulation View top rated classes
Group folder image Math Math related classes. View top rated classes

Detailed description

This class can be used parse and evaluate RPN (reverse polish notation) expressions.

It can parse a mathematical expressions with operands and operators in reverse polish and evaluates the expression.

If the expression is split in multiple lines, it can evaluate each line individually.

Currently it supports the operators: +, - , *, /, IF, THEN, SWAP, DUP, =, <>, >, <. >= and <= .

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file rpn.class.php Class rpn parser
Plain text file example.php Example example of use of rpn.class.php with forms
Plain text file example2.php Example example of use of rpn.class.php with server files
Plain text file license.txt Lic. GPL license for RPN.class
Plain text file RPN.txt Data rpn "program" file
Download all files: rpn.tar.gz rpn.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products