aboutsummaryrefslogtreecommitdiff
path: root/src/lang/parser.clj
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lang/parser.clj5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lang/parser.clj b/src/lang/parser.clj
index f09d87145..5adf36030 100644
--- a/src/lang/parser.clj
+++ b/src/lang/parser.clj
@@ -103,6 +103,10 @@
(partition 2 ?bindings)))]
(return [::let =bindings =expr])))
+(defparser ^:private parse-module
+ [::&lexer/list ([[::&lexer/ident "module"]] :seq)]
+ (return [::module]))
+
(defparser ^:private parse-tagged
[::&lexer/list ([[::&lexer/tag ?tag] ?data] :seq)]
(exec [=data (apply-m parse-form (list ?data))]
@@ -185,6 +189,7 @@
parse-static-access
parse-dynamic-access
parse-ann-class
+ parse-module
parse-fn-call]))
;; [Interface]