aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/parser.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-08-26 23:04:27 -0400
committerEduardo Julian2020-08-26 23:04:27 -0400
commitc8f9f42a258f1f2f961c7f8c5571cce843e97a0a (patch)
tree887cb4d557b149826c6c9e59ea821942045b08d4 /stdlib/source/program/aedifex/parser.lux
parentd77ce19bf01a009cf5255e0a5d8201d8cc2f2178 (diff)
Download and catch dependencies in Aedifex.
Diffstat (limited to '')
-rw-r--r--stdlib/source/program/aedifex/parser.lux15
1 files changed, 8 insertions, 7 deletions
diff --git a/stdlib/source/program/aedifex/parser.lux b/stdlib/source/program/aedifex/parser.lux
index 1a4b2f638..78f6dbb60 100644
--- a/stdlib/source/program/aedifex/parser.lux
+++ b/stdlib/source/program/aedifex/parser.lux
@@ -11,26 +11,27 @@
[net (#+ URL)]]]
[//
["/" project]
+ ["//." artifact (#+ Artifact)]
["//." dependency]])
(def: group
- (Parser /.Group)
+ (Parser //artifact.Group)
<c>.text)
(def: name
- (Parser /.Name)
+ (Parser //artifact.Name)
<c>.text)
(def: version
- (Parser /.Version)
+ (Parser //artifact.Version)
<c>.text)
(def: artifact'
- (Parser /.Artifact)
+ (Parser //artifact.Artifact)
($_ <>.and ..group ..name ..version))
(def: artifact
- (Parser /.Artifact)
+ (Parser //artifact.Artifact)
(<c>.tuple ..artifact'))
(def: url
@@ -106,7 +107,7 @@
))
(def: repository
- (Parser /.Repository)
+ (Parser //dependency.Repository)
..url)
(def: type
@@ -114,7 +115,7 @@
<c>.text)
(def: dependency
- (Parser /.Dependency)
+ (Parser //dependency.Dependency)
(<c>.tuple
($_ <>.and
..artifact'