From b6ccfc87c52e1a98ead3b04b45bccc119418a4dc Mon Sep 17 00:00:00 2001
From: Eduardo Julian
Date: Sun, 17 Jun 2018 00:27:21 -0400
Subject: - Migrated Scheme back-end to stdlib.
---
.../luxc/lang/translation/scheme/structure.jvm.lux | 31 ----------------------
1 file changed, 31 deletions(-)
delete mode 100644 new-luxc/source/luxc/lang/translation/scheme/structure.jvm.lux
(limited to 'new-luxc/source/luxc/lang/translation/scheme/structure.jvm.lux')
diff --git a/new-luxc/source/luxc/lang/translation/scheme/structure.jvm.lux b/new-luxc/source/luxc/lang/translation/scheme/structure.jvm.lux
deleted file mode 100644
index 01ddcbf6f..000000000
--- a/new-luxc/source/luxc/lang/translation/scheme/structure.jvm.lux
+++ /dev/null
@@ -1,31 +0,0 @@
-(.module:
- lux
- (lux (control [monad #+ do])
- (data [text]
- text/format)
- [macro])
- (luxc ["&" lang]
- (lang [synthesis #+ Synthesis]
- (host [scheme #+ Expression])))
- [//]
- (// [".T" runtime]))
-
-(def: #export (translate-tuple translate elemsS+)
- (-> (-> Synthesis (Meta Expression)) (List Synthesis) (Meta Expression))
- (case elemsS+
- #.Nil
- (:: macro.Monad wrap runtimeT.unit)
-
- (#.Cons singletonS #.Nil)
- (translate singletonS)
-
- _
- (do macro.Monad
- [elemsT+ (monad.map @ translate elemsS+)]
- (wrap (scheme.vector elemsT+)))))
-
-(def: #export (translate-variant translate tag tail? valueS)
- (-> (-> Synthesis (Meta Expression)) Nat Bool Synthesis (Meta Expression))
- (do macro.Monad
- [valueT (translate valueS)]
- (wrap (runtimeT.variant tag tail? valueT))))
--
cgit v1.2.3