aboutsummaryrefslogtreecommitdiff
path: root/src/lang/parser.clj
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lux/parser.clj (renamed from src/lang/parser.clj)16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lang/parser.clj b/src/lux/parser.clj
index 34f3e70b4..8d3cfb0dd 100644
--- a/src/lang/parser.clj
+++ b/src/lux/parser.clj
@@ -1,11 +1,11 @@
-(ns lang.parser
+(ns lux.parser
(:require [clojure.template :refer [do-template]]
[clojure.core.match :refer [match]]
- (lang [util :as &util :refer [exec return* return fail fail*
- repeat-m try-m try-all-m map-m
- apply-m]]
- [lexer :as &lexer]
- [type :as &type])))
+ (lux [util :as &util :refer [exec return* return fail fail*
+ repeat-m try-m try-all-m map-m
+ apply-m]]
+ [lexer :as &lexer]
+ [type :as &type])))
(declare parse-form)
@@ -32,8 +32,8 @@
)
(defparser ^:private parse-char
- [::&lexer/char ?value]
- (return [::char (.charAt ?value 0)]))
+ [::&lexer/char ?value]
+ (return [::char (.charAt ?value 0)]))
(defn ident->string [ident]
(match ident