Expressions

- Implemented an operator lookup table with type, associativity and
  precedence.
- Implemented Expression::to_postfix that generates a postfix
  expression list using a Dijkstra Shunt.
This commit is contained in:
Paul Beckingham 2011-06-07 00:25:21 -04:00
parent ed8454c202
commit d83b2d5e36
5 changed files with 132 additions and 30 deletions

1
test/.gitignore vendored
View file

@ -15,6 +15,7 @@ file.t
filt.t
i18n.t
json.t
lexer.t
lisp.t
list.t
nibbler.t