aboutsummaryrefslogtreecommitdiff
path: root/src/lang/util.clj
diff options
context:
space:
mode:
authorEduardo Julian2015-01-03 02:31:14 -0400
committerEduardo Julian2015-01-03 02:31:14 -0400
commit212dd66966a873e3d7183b071f719ef58e4d88fe (patch)
tree0768fad2a0a88e7a91d7b542f32471a02eaea9b7 /src/lang/util.clj
parent648110a554a13e1caaf846a60c85cccadcda6e0d (diff)
- Beginning to implement compiler in the language itself.
- The language can now handle more symbols on identifiers.
Diffstat (limited to '')
-rw-r--r--src/lang/util.clj11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lang/util.clj b/src/lang/util.clj
index 7eb431033..063dfa061 100644
--- a/src/lang/util.clj
+++ b/src/lang/util.clj
@@ -139,16 +139,25 @@
\+ "_PLUS_"
\- "_DASH_"
\/ "_SLASH_"
+ \\ "_BSLASH_"
\_ "_UNDERS_"
\% "_PERCENT_"
\$ "_DOLLAR_"
- \! "_BANG_"
\' "_QUOTE_"
\` "_BQUOTE_"
\@ "_AT_"
\^ "_CARET_"
\& "_AMPERS_"
\= "_EQ_"
+ \! "_BANG_"
+ \? "_QM_"
+ \: "_COLON_"
+ \; "_SCOLON_"
+ \. "_PERIOD_"
+ \, "_COMMA_"
+ \< "_LT_"
+ \> "_GT_"
+ \~ "_TILDE_"
;; default
char))