Skip to content

Instantly share code, notes, and snippets.

View janbarasek's full-sized avatar
🏠
Working from Prague

Jan Barášek janbarasek

🏠
Working from Prague
View GitHub Profile
@janbarasek
janbarasek / Expressions.php
Created April 3, 2016 08:13 — forked from ircmaxell/Expressions.php
A math parser and evaluator implementation
<?php
class Parenthesis extends TerminalExpression {
protected $precidence = 6;
public function operate(Stack $stack) {
}
public function getPrecidence() {
return $this->precidence;