aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source')
-rw-r--r--stdlib/source/lux/lang/synthesis.lux12
1 files changed, 11 insertions, 1 deletions
diff --git a/stdlib/source/lux/lang/synthesis.lux b/stdlib/source/lux/lang/synthesis.lux
index 779581cc4..cc43ea0b3 100644
--- a/stdlib/source/lux/lang/synthesis.lux
+++ b/stdlib/source/lux/lang/synthesis.lux
@@ -1,5 +1,5 @@
(.module:
- [lux #- Scope]
+ [lux #- i64 Scope]
(lux (control [monad #+ do])
(data [error #+ Error]
(coll (dictionary ["dict" unordered #+ Dict]))))
@@ -176,6 +176,16 @@
(do-template [<name> <tag>]
[(template: #export (<name> content)
+ (#..Primitive (<tag> content)))]
+
+ [bool #..Bool]
+ [i64 #..I64]
+ [f64 #..F64]
+ [text #..Text]
+ )
+
+(do-template [<name> <tag>]
+ [(template: #export (<name> content)
(<| #..Reference
<tag>
content))]