aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/specification/compositor.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-06-26 19:37:45 -0400
committerEduardo Julian2022-06-26 19:37:45 -0400
commit853d28f803e75d125915a81dcdcd140513efe3d2 (patch)
tree41d24b6cb5593b631793efa77f53359e8229ea37 /stdlib/source/specification/compositor.lux
parent9f6505491e8a5c8a159ce094fe0af6f4fef0c5cf (diff)
Re-named directives to declarations.
Diffstat (limited to 'stdlib/source/specification/compositor.lux')
-rw-r--r--stdlib/source/specification/compositor.lux14
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/specification/compositor.lux b/stdlib/source/specification/compositor.lux
index f8d5dcc97..e6494e011 100644
--- a/stdlib/source/specification/compositor.lux
+++ b/stdlib/source/specification/compositor.lux
@@ -11,7 +11,7 @@
[tool
[compiler
["[0]" analysis]
- ["[0]" directive]
+ ["[0]" declaration]
[phase
[macro (.only Expander)]
[generation (.only Bundle)]]
@@ -42,11 +42,11 @@
))
(def .public (spec platform bundle expander program)
- (All (_ anchor expression directive)
- (-> (IO (Platform IO anchor expression directive))
- (Bundle anchor expression directive)
+ (All (_ anchor expression declaration)
+ (-> (IO (Platform IO anchor expression declaration))
+ (Bundle anchor expression declaration)
Expander
- (-> expression directive)
+ (-> expression declaration)
Test))
(do r.monad
[_ (in [])
@@ -58,9 +58,9 @@
expander
program))]]
(case ?state,runner,definer
- {try.#Success [[directive_bundle directive_state] runner definer]}
+ {try.#Success [[declaration_bundle declaration_state] runner definer]}
(..test runner definer
- (the [directive.#analysis directive.#state] directive_state)
+ (the [declaration.#analysis declaration.#state] declaration_state)
expander)
{try.#Failure error}