aboutsummaryrefslogtreecommitdiff
path: root/lux-js/source/program.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-06-05 01:39:29 -0400
committerEduardo Julian2022-06-05 01:39:29 -0400
commitf623de52d76ad8ec96feb048cd95a3fb150717e1 (patch)
tree92a53eb8e5a25287e59eb104716abe5cc2ebd60a /lux-js/source/program.lux
parent75e8244fd7914d2ac0c3622d2277b84c4bfa7ffb (diff)
De-sigil-ification: : [Part 1]
Diffstat (limited to '')
-rw-r--r--lux-js/source/program.lux32
1 files changed, 16 insertions, 16 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index c3f7cd311..f6aecd2e0 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -2,7 +2,7 @@
[library
[lux (.except)
[program (.only program:)]
- ["[0]" ffi (.only import:)]
+ ["[0]" ffi (.only import)]
["[0]" debug]
[abstract
[monad (.only do)]]
@@ -78,48 +78,48 @@
"???"))
(for @.jvm
- (these (import: java/lang/String
+ (these (import java/lang/String
"[1]::[0]")
- (import: (java/lang/Class a)
+ (import (java/lang/Class a)
"[1]::[0]")
- (import: java/lang/Object
+ (import java/lang/Object
"[1]::[0]"
(toString [] java/lang/String)
(getClass [] (java/lang/Class java/lang/Object)))
- (import: java/lang/Long
+ (import java/lang/Long
"[1]::[0]"
(intValue [] int))
- (import: java/lang/Integer
+ (import java/lang/Integer
"[1]::[0]"
(longValue [] long))
- (import: java/lang/Number
+ (import java/lang/Number
"[1]::[0]"
(intValue [] int)
(longValue [] long)
(doubleValue [] double))
- (import: java/util/Arrays
+ (import java/util/Arrays
"[1]::[0]"
("static" [t] copyOfRange [[t] int int] [t]))
- (import: javax/script/ScriptEngine
+ (import javax/script/ScriptEngine
"[1]::[0]"
(eval [java/lang/String] "try" "?" java/lang/Object))
- (import: javax/script/ScriptEngineFactory
+ (import javax/script/ScriptEngineFactory
"[1]::[0]"
(getScriptEngine [] javax/script/ScriptEngine))
- (import: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory
+ (import org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory
"[1]::[0]"
(new []))
- (import: org/openjdk/nashorn/api/scripting/JSObject
+ (import org/openjdk/nashorn/api/scripting/JSObject
"[1]::[0]"
(isArray [] boolean)
(isFunction [] boolean)
@@ -128,23 +128,23 @@
(hasMember [java/lang/String] boolean)
(call ["?" java/lang/Object [java/lang/Object]] "try" java/lang/Object))
- (import: org/openjdk/nashorn/api/scripting/AbstractJSObject
+ (import org/openjdk/nashorn/api/scripting/AbstractJSObject
"[1]::[0]")
- (import: org/openjdk/nashorn/api/scripting/ScriptObjectMirror
+ (import org/openjdk/nashorn/api/scripting/ScriptObjectMirror
"[1]::[0]"
(size [] int)
(toString [] java/lang/String)
(getOwnKeys [boolean] [java/lang/String]))
- (import: org/openjdk/nashorn/internal/runtime/Undefined
+ (import org/openjdk/nashorn/internal/runtime/Undefined
"[1]::[0]")
(template [<name>]
[(ffi.interface: <name>
(getValue [] java/lang/Object))
- (import: <name>
+ (import <name>
"[1]::[0]"
(getValue [] java/lang/Object))]