diff options
author | Eduardo Julian | 2020-05-12 20:23:24 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-05-12 20:23:24 -0400 |
commit | f605537d91450b347ce70eb2c5edff9674e72044 (patch) | |
tree | f05a8c50f9db34d889a353951ebaa96761d96918 /stdlib/source/lux/tool/compiler/meta/archive | |
parent | 33090b088deb20180108e6713309e0dfc627c6e5 (diff) |
Compiler versions are now natural numbers, and are included as part of the names/paths of artifacts.
Diffstat (limited to 'stdlib/source/lux/tool/compiler/meta/archive')
-rw-r--r-- | stdlib/source/lux/tool/compiler/meta/archive/signature.lux | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/stdlib/source/lux/tool/compiler/meta/archive/signature.lux b/stdlib/source/lux/tool/compiler/meta/archive/signature.lux index 3d795ff50..95bfc166b 100644 --- a/stdlib/source/lux/tool/compiler/meta/archive/signature.lux +++ b/stdlib/source/lux/tool/compiler/meta/archive/signature.lux @@ -10,7 +10,9 @@ ["." text ["%" format (#+ format)]] [format - ["." binary (#+ Writer)]]]] + ["." binary (#+ Writer)]] + [number + ["." nat]]]] [//// [version (#+ Version)]]) @@ -20,18 +22,18 @@ (def: #export equivalence (Equivalence Signature) - (equivalence.product name.equivalence text.equivalence)) + (equivalence.product name.equivalence nat.equivalence)) (def: #export (description signature) (-> Signature Text) - (format (%.name (get@ #name signature)) " " (get@ #version signature))) + (format (%.name (get@ #name signature)) " " (%.nat (get@ #version signature)))) (def: #export writer (Writer Signature) (binary.and (binary.and binary.text binary.text) - binary.text)) + binary.nat)) (def: #export parser (Parser Signature) (<>.and (<>.and <b>.text <b>.text) - <b>.text)) + <b>.nat)) |