aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/meta/compiler/language/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/meta/compiler/language/lux.lux29
1 files changed, 0 insertions, 29 deletions
diff --git a/stdlib/source/library/lux/meta/compiler/language/lux.lux b/stdlib/source/library/lux/meta/compiler/language/lux.lux
index 14adeb6d6..1176afc91 100644
--- a/stdlib/source/library/lux/meta/compiler/language/lux.lux
+++ b/stdlib/source/library/lux/meta/compiler/language/lux.lux
@@ -24,21 +24,11 @@
(Format .Module)
(let [definition (is (Format Definition)
(all _.and _.bit _.type _.any))
- labels (is (Format [Text (List Text)])
- (_.and _.text (_.list _.text)))
- global_type (is (Format [Bit Type (Either [Text (List Text)]
- [Text (List Text)])])
- (all _.and _.bit _.type (_.or labels labels)))
- global_label (is (Format .Label)
- (all _.and _.bit _.type (_.list _.text) _.nat))
alias (is (Format Alias)
(_.and _.text _.text))
global (is (Format Global)
(all _.or
definition
- global_type
- global_label
- global_label
alias))]
(all _.and
... #module_hash
@@ -59,22 +49,6 @@
<binary>.bit
<binary>.type
<binary>.any))
- labels (is (Parser [Text (List Text)])
- (all <>.and
- <binary>.text
- (<binary>.list <binary>.text)))
- global_type (is (Parser [Bit Type (Either [Text (List Text)]
- [Text (List Text)])])
- (all <>.and
- <binary>.bit
- <binary>.type
- (<binary>.or labels labels)))
- global_label (is (Parser .Label)
- (all <>.and
- <binary>.bit
- <binary>.type
- (<binary>.list <binary>.text)
- <binary>.nat))
alias (is (Parser Alias)
(all <>.and
<binary>.text
@@ -82,9 +56,6 @@
global (is (Parser Global)
(all <binary>.or
definition
- global_type
- global_label
- global_label
alias))]
(all <>.and
... #module_hash