aboutsummaryrefslogtreecommitdiff
path: root/src/lang.clj
diff options
context:
space:
mode:
authorEduardo Julian2014-12-16 00:58:36 -0400
committerEduardo Julian2014-12-16 00:58:36 -0400
commit70fe9266ce1ccb4fe964b831a7ab61f0d6262111 (patch)
treeeab9cca12d932a29b08a9ed0961b8d2600985c75 /src/lang.clj
parent08de30a36ff6599e583d22c4305bfee9878f92ea (diff)
+ Strings now have escape characters.
+ Characters have been added. % Unicode support is missing...
Diffstat (limited to '')
-rw-r--r--src/lang.clj6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lang.clj b/src/lang.clj
index 2c0ca47e6..0aaba1b81 100644
--- a/src/lang.clj
+++ b/src/lang.clj
@@ -12,7 +12,6 @@
(comment
;; TODO: Add pattern-matching.
- ;; TODO: Allow strings to have escape characters.
;; TODO: Fold all closure classes into one.
;; TODO: When doing partial application, skip "apply" and just call constructor appropiatedly.
;; TODO: Add extra arities (apply2, apply3, ..., apply16)
@@ -28,7 +27,7 @@
;; TODO: Do tail-call optimization.
;; TODO: Adding metadata to global vars.
;; TODO: Add records.
- ;; TODO:
+ ;; TODO: throw, try, catch, finally
;; TODO:
;; TODO:
@@ -41,7 +40,10 @@
;; _ (prn 'ann-syntax ann-syntax)
class-data (&compiler/compile "test2" ann-syntax)]
(write-file "test2.class" class-data))
+
+
+ ;; ## (_. (_.. System out) (println "this\tis a\nstring"))
;; jar cvf test2.jar *.class test2 && java -cp "test2.jar" test2
)