diff options
Diffstat (limited to 'src/cljcc/token.clj')
| -rw-r--r-- | src/cljcc/token.clj | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cljcc/token.clj b/src/cljcc/token.clj index 63c1eda..429e593 100644 --- a/src/cljcc/token.clj +++ b/src/cljcc/token.clj @@ -37,6 +37,14 @@ (def chrs #{}) +(def bin-ops + "Binary operanrs and their precedence." + {:plus 40 + :hyphen 40 + :multiply 50 + :divide 50 + :remainder 50}) + (def chrs-kind-map {\( :left-paren \) :right-paren |
