From c68be3366cb67ff96ec88904ccc9d1efd7a78bed Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 8 Dec 2014 20:36:41 -0400 Subject: Added modules. --- src/lang/parser.clj | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lang/parser.clj') 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] -- cgit v1.2.3