diff options
author | Eduardo Julian | 2015-01-10 22:53:37 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-01-10 22:53:37 -0400 |
commit | 409821d93f2781559677cdc2595ed15aa41eb933 (patch) | |
tree | 03f8cb589bfaf562c94c7d89707d680874123871 /src/lux.clj | |
parent | 8809c018b626132429a5673778db7093945037c3 (diff) |
* 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.
Diffstat (limited to '')
-rw-r--r-- | src/lux.clj | 5 |
1 files changed, 2 insertions, 3 deletions
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") |