aboutsummaryrefslogtreecommitdiff
path: root/src/lang.clj
diff options
context:
space:
mode:
authorEduardo Julian2014-12-18 00:55:29 -0400
committerEduardo Julian2014-12-18 00:55:29 -0400
commitdc9486ecca2f42525fb46bf200fb06e4803912ba (patch)
treee0713aebf15c1021c45fbe775e2db0b9f08dc205 /src/lang.clj
parentd389e983ff4f5d5b01219220ee50f52090816d43 (diff)
All the classes that used to be generated per function have now been folded into one.
Diffstat (limited to '')
-rw-r--r--src/lang.clj11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/lang.clj b/src/lang.clj
index f12ffc8d5..e602a21a6 100644
--- a/src/lang.clj
+++ b/src/lang.clj
@@ -11,10 +11,6 @@
(.write stream data)))
(comment
- ;; 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)
- ;; TODO: Tuple8 and Tuple8X (for arbitrary-size tuples).
;; TODO: Allow "lambdas" to be closures.
;; TODO: Add Java-interop.
;; TODO: Allow loading classes at runtime.
@@ -28,6 +24,9 @@
;; TODO: Add records.
;; TODO: throw, try, catch, finally
;; TODO: Finish implementing pattern matching.
+ ;; TODO: Tuple8 and Tuple8X (for arbitrary-size tuples).
+ ;; TODO: Add extra arities (apply2, apply3, ..., apply16)
+ ;; TODO: When doing partial application, skip "apply" and just call constructor appropiatedly.
;; TODO:
(let [source-code (slurp "test2.lang")
@@ -40,9 +39,5 @@
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
-
)