diff options
author | Eduardo Julian | 2021-09-06 16:28:43 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-09-06 16:28:43 -0400 |
commit | b55cefcb258f11eeee32c1478faefd1bd09ec871 (patch) | |
tree | 8920d7c35bbb7adb3d5fd1a0a2a98fb328549ed2 /stdlib/source/library/lux/tool/compiler | |
parent | ddcfead3ebf30fd8fef26f495662ef61e652ba4f (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.lux | 4 | ||||
-rw-r--r-- | stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux | 4 |
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) |