From 70fe9266ce1ccb4fe964b831a7ab61f0d6262111 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 16 Dec 2014 00:58:36 -0400 Subject: + Strings now have escape characters. + Characters have been added. % Unicode support is missing... --- src/lang.clj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lang.clj') 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 ) -- cgit v1.2.3