From 38bd6f35d81705ab0c04c85601ac5b236b62605a Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 6 Mar 2018 01:07:43 -0400 Subject: - Initial Lua backend implementation. --- .../source/luxc/lang/translation/js/procedure/common.jvm.lux | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'new-luxc/source/luxc/lang/translation/js/procedure') diff --git a/new-luxc/source/luxc/lang/translation/js/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/js/procedure/common.jvm.lux index 14329e0dd..8b45557cd 100644 --- a/new-luxc/source/luxc/lang/translation/js/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/js/procedure/common.jvm.lux @@ -354,14 +354,9 @@ Trinary (format subjectJS ".replace(" paramJS "," extraJS ")")) -(do-template [ ] - [(def: ( [textJS partJS startJS]) - Trinary - (format "(" textJS "," partJS "," startJS ")"))] - - [text//index runtimeT.text//index] - [text//last-index runtimeT.text//last-index] - ) +(def: (text//index [textJS partJS startJS]) + Trinary + (format runtimeT.text//index "(" textJS "," partJS "," startJS ")")) ## [[Math]] (do-template [ ] -- cgit v1.2.3