aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
authorEduardo Julian2021-06-30 23:24:55 -0400
committerEduardo Julian2021-06-30 23:24:55 -0400
commit744ee69630de59ca3ba660b0aab6361cd17ce1b4 (patch)
tree329c11b8c3522c319c99ebd4d7c51ee0e7464bae /lux-js
parent6633cd42f2892ea71530ddeeb93a7e7c0b59faa3 (diff)
"signature:" -> "interface:" & "structure:" -> "implementation:"
"signature" & "structure" feel like very ML-specific terminology and might not be easy on programmers unfamiliar with it.
Diffstat (limited to 'lux-js')
-rw-r--r--lux-js/source/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 41b09da2c..171f92c6e 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -478,7 +478,7 @@
(io (let [interpreter (javax/script/ScriptEngineFactory::getScriptEngine
(org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory::new))]
(: (Host _.Expression _.Statement)
- (structure
+ (implementation
(def: evaluate! (..evaluate! interpreter))
(def: execute! (..execute! interpreter))
(def: define! (..define! interpreter))
@@ -536,7 +536,7 @@
(def: host
(IO (Host _.Expression _.Statement))
(io (: (Host _.Expression _.Statement)
- (structure
+ (implementation
(def: evaluate! ..evaluate!)
(def: execute! ..execute!)
(def: define! ..define!)