diff options
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux b/new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux index d5abbc150..af47bffce 100644 --- a/new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux @@ -597,35 +597,6 @@ __text//clip __text//char)) -(runtime: array//get "arrayGet" - (format "(function " @ "(arr,idx) {" - "var temp = arr[" int//to-number "(idx)];" - (format "if(temp !== undefined) {" - (format "return " (some "temp") ";") - "}" - "else {" - (format "return " none ";") - "}") - "})")) - -(runtime: array//put "arrayPut" - (format "(function " @ "(arr,idx,val) {" - "arr[" int//to-number "(idx)] = val;" - "return arr;" - "})")) - -(runtime: array//remove "arrayRemove" - (format "(function " @ "(arr,idx) {" - "delete arr[" int//to-number "(idx)];" - "return arr;" - "})")) - -(def: runtime//array - Runtime - (format __array//get - __array//put - __array//remove)) - (runtime: io//log "log" (format "(function " @ "(message) {" "if(typeof console !== \"undefined\" && console.log) { console.log(message); }" @@ -685,7 +656,6 @@ runtime//bit runtime//int runtime//text - runtime//array runtime//io runtime//js)) |