aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/token.clj
diff options
context:
space:
mode:
authorShagun Agrawal <agrawalshagun07@gmail.com>2024-08-16 23:40:18 +0530
committerShagun Agrawal <agrawalshagun07@gmail.com>2024-08-16 23:40:18 +0530
commit7db3c0405a7fc2895095e91abe910626aee2bc5d (patch)
tree135c019f643c5ca9b43696ad992d6c4404fca5b2 /src/cljcc/token.clj
parent70a42cd67b8cb6b03a7e00d0d7f1e8e9ce8a121f (diff)
Add lexer implementation for ch2
Add lexer implementation Add reference for base implementation of the lexer
Diffstat (limited to 'src/cljcc/token.clj')
-rw-r--r--src/cljcc/token.clj3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cljcc/token.clj b/src/cljcc/token.clj
index 6df4f43..63c1eda 100644
--- a/src/cljcc/token.clj
+++ b/src/cljcc/token.clj
@@ -47,7 +47,8 @@
"++" :increment
\; :semicolon
\+ :plus
- \- :minus
+ \- :hyphen
+ \~ :complement
\* :multiply
\% :remainder
\/ :divide})