aboutsummaryrefslogtreecommitdiff
path: root/new-luxc
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc')
-rw-r--r--new-luxc/source/luxc/generator.lux4
-rw-r--r--new-luxc/source/luxc/lang/syntax.lux (renamed from new-luxc/source/luxc/lang/parser.lux)0
-rw-r--r--new-luxc/test/test/luxc/lang/syntax.lux (renamed from new-luxc/test/test/luxc/lang/parser.lux)4
-rw-r--r--new-luxc/test/tests.lux2
4 files changed, 5 insertions, 5 deletions
diff --git a/new-luxc/source/luxc/generator.lux b/new-luxc/source/luxc/generator.lux
index b1068c257..e4d4317fe 100644
--- a/new-luxc/source/luxc/generator.lux
+++ b/new-luxc/source/luxc/generator.lux
@@ -16,7 +16,7 @@
["&;" module]
["&;" synthesizer]
["&;" eval]
- (lang ["&;" parser]
+ (lang ["&;" syntax]
(analysis [";A" expression]
[";A" common]))
(generator ["&&;" runtime]
@@ -89,7 +89,7 @@
(def: parse
(Meta Code)
(function [compiler]
- (case (&parser;parse (get@ #;source compiler))
+ (case (&syntax;parse (get@ #;source compiler))
(#e;Error error)
(#e;Error error)
diff --git a/new-luxc/source/luxc/lang/parser.lux b/new-luxc/source/luxc/lang/syntax.lux
index 93800c1b7..93800c1b7 100644
--- a/new-luxc/source/luxc/lang/parser.lux
+++ b/new-luxc/source/luxc/lang/syntax.lux
diff --git a/new-luxc/test/test/luxc/lang/parser.lux b/new-luxc/test/test/luxc/lang/syntax.lux
index c70bdaece..195fed2ca 100644
--- a/new-luxc/test/test/luxc/lang/parser.lux
+++ b/new-luxc/test/test/luxc/lang/syntax.lux
@@ -11,7 +11,7 @@
["r" math/random "r/" Monad<Random>]
(meta [code])
test)
- (luxc (lang ["&" parser])))
+ (luxc (lang ["&" syntax])))
(def: default-cursor
Cursor
@@ -73,7 +73,7 @@
(r;either simple^
composite^))))))
-(context: "Lux code parser."
+(context: "Lux code syntax."
(<| (times +100)
(do @
[sample code^
diff --git a/new-luxc/test/tests.lux b/new-luxc/test/tests.lux
index c112e4076..f96d5bdfc 100644
--- a/new-luxc/test/tests.lux
+++ b/new-luxc/test/tests.lux
@@ -5,7 +5,7 @@
(concurrency [promise])
[cli #+ program:]
[test])
- (test (luxc (lang ["_;P" parser]
+ (test (luxc (lang ["_;L" syntax]
(analysis ["_;A" primitive]
["_;A" structure]
["_;A" reference]