aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/compiler
diff options
context:
space:
mode:
authorEduardo Julian2021-09-06 16:28:43 -0400
committerEduardo Julian2021-09-06 16:28:43 -0400
commitb55cefcb258f11eeee32c1478faefd1bd09ec871 (patch)
tree8920d7c35bbb7adb3d5fd1a0a2a98fb328549ed2 /stdlib/source/library/lux/tool/compiler
parentddcfead3ebf30fd8fef26f495662ef61e652ba4f (diff)
New chapter on compiler extensions.
Diffstat (limited to 'stdlib/source/library/lux/tool/compiler')
-rw-r--r--stdlib/source/library/lux/tool/compiler/language/lux/generation.lux4
-rw-r--r--stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux4
2 files changed, 6 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux b/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux
index 3646a0e9f..f5eb64da7 100644
--- a/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux
+++ b/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux
@@ -102,7 +102,9 @@
#context #.None
#log row.empty])
-(def: .public empty_buffer Buffer row.empty)
+(def: .public empty_buffer
+ Buffer
+ row.empty)
(template [<tag>
<with_declaration> <with_type> <with_value>
diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux
index df124fba8..3d1067415 100644
--- a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux
+++ b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux
@@ -198,7 +198,9 @@
(type: .public Apply
(Apply' Synthesis))
-(def: .public unit Text "")
+(def: .public unit
+ Text
+ "")
(template [<with> <query> <tag> <type>]
[(def: .public (<with> value)