aboutsummaryrefslogtreecommitdiff
path: root/src/lux.clj
diff options
context:
space:
mode:
authorEduardo Julian2015-01-22 00:18:39 -0400
committerEduardo Julian2015-01-22 00:18:39 -0400
commit33aadce096a947300a2531940efc962c979542da (patch)
tree46c306177d19dae8eb4a9c65e43292dd3a95dd3e /src/lux.clj
parent117124707863ed7d89ef13db417f883a76da041c (diff)
WARNING: Broken
[Enhancements] - Restructured the lexer a bit. - Restructured the parser a lot. - Changed the syntax a bit. - Module-names are now separated from def-names by a colon (e.g. module/submodule:var) - i+ -> iadd, i- -> isub, i* -> imul, i/ -> idiv - Added a (incomplete) way to annotate defs. Currently, only serves to mark defs as macros. - Removed "import" and "use". "require" is meant to be the way to load modules. - Did some major refactoring, cleaning and upgrading in the analyser. Though there is still some work pending.
Diffstat (limited to '')
-rw-r--r--src/lux.clj9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lux.clj b/src/lux.clj
index d5c76cea9..045e6b0f2 100644
--- a/src/lux.clj
+++ b/src/lux.clj
@@ -18,15 +18,18 @@
;; TODO: Add records.
;; TODO: throw, try, catch, finally
;; 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: Allow setting fields.
;; TODO: monitor enter & monitor exit.
;; TODO: Reinplement "if" as a macro on top of case.
;; TODO: Remember to optimized calling global functions.
;; TODO: Reader macros.
+ ;; TODO: Automatic currying of functions.
+ ;; TODO:
+ ;; TODO:
+ ;; TODO:
;; TODO:
- (&compiler/compile-all ["lux" "test2"])
+ (time (&compiler/compile-all ["lux" "test2"]))