From bcd3d9ee8f6797f758a2abea98d5cb6a74cc7df0 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 15 Jun 2018 00:11:33 -0400 Subject: - WIP: Adjustments to new-luxc based on recent changes to stdlib. --- stdlib/source/lux/lang/synthesis.lux | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'stdlib/source') 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])))) @@ -174,6 +174,16 @@ [locals ..locals]) (..with-locals (inc locals)))) +(do-template [ ] + [(template: #export ( content) + (#..Primitive ( content)))] + + [bool #..Bool] + [i64 #..I64] + [f64 #..F64] + [text #..Text] + ) + (do-template [ ] [(template: #export ( content) (<| #..Reference -- cgit v1.2.3