Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

README.md

A simple ruby based Calculation Parser & Interpreter.

Implemented as per Jamis Buck's "Weekly Programming Challenge #8"

expression = term expr-op ;
expr-op    = '+' expression
           | '-' expression
           | () ;

term    = factor term-op ;
term-op = '\*' term
        | '/' term
        | () ;

factor = integer
       | '(' expression ')'
       | '-' factor ;

integer = '0' | '1' | '2' | '3' | '4'
        | '5' | '6' | '7' | '8' | '9' ;

About

No description, website, or topics provided.

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.