diff options
author | Eduardo Julian | 2022-07-08 19:15:02 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-07-08 19:15:02 -0400 |
commit | fc2737b5226eda69c12bc593e83e22ed54e4d3af (patch) | |
tree | cc3c8bfd5b96a235ebc37f3b3a17d37533f8ded2 /stdlib/source/test/lux/meta/version.lux | |
parent | 6a052144968df9b441df53f6aa08cbb515ff2654 (diff) |
Extracted macro-expansion machinery into its own module.
Diffstat (limited to 'stdlib/source/test/lux/meta/version.lux')
-rw-r--r-- | stdlib/source/test/lux/meta/version.lux | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/stdlib/source/test/lux/meta/version.lux b/stdlib/source/test/lux/meta/version.lux index 1df94e003..6df9bf4e5 100644 --- a/stdlib/source/test/lux/meta/version.lux +++ b/stdlib/source/test/lux/meta/version.lux @@ -17,15 +17,16 @@ ["[0]" static] ["[0]" code (.only) ["<[1]>" \\parser]] - ["[0]" macro (.only) - [syntax (.only syntax)]]]]] + [macro + [syntax (.only syntax)] + ["[0]" expansion]]]]] [\\library ["[0]" /]]) (def failure (syntax (_ [it <code>.any]) (function (_ lux) - (case (macro.expansion it lux) + (case (expansion.complete it lux) {try.#Failure error} {try.#Success [lux (list (code.text error))]} |