From 409821d93f2781559677cdc2595ed15aa41eb933 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 10 Jan 2015 22:53:37 -0400 Subject: * Changed the language so variants now store their elements directly, instead of relying on a tuple. * Changed the pattern-matching and variant generation code accordingly. * Also changed a bit the special form for defining classes. --- src/lux.clj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lux.clj') diff --git a/src/lux.clj b/src/lux.clj index 82fcb3a57..3c466e86f 100644 --- a/src/lux.clj +++ b/src/lux.clj @@ -17,14 +17,13 @@ ;; TODO: Adding metadata to global vars. ;; TODO: Add records. ;; TODO: throw, try, catch, finally - ;; 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: Add "new". Allow setting fields. ;; TODO: Don't take into account newlines in strings unless they come from \n to allow better coding. ;; TODO: monitor enter & monitor exit. - ;; TODO: - ;; TODO: + ;; TODO: Reinplement "if" as a macro on top of case. + ;; TODO: Eliminate the reliance of variants upon tuples for storage. ;; TODO: (let [source-code (slurp "test2.lux") -- cgit v1.2.3