diff options
Diffstat (limited to '')
-rw-r--r-- | lux-r/source/program.lux | 8 | ||||
-rw-r--r-- | lux-ruby/source/program.lux | 22 |
2 files changed, 15 insertions, 15 deletions
diff --git a/lux-r/source/program.lux b/lux-r/source/program.lux index ec4931eae..7d835fdbf 100644 --- a/lux-r/source/program.lux +++ b/lux-r/source/program.lux @@ -72,7 +72,7 @@ (ffi.import: (java/lang/Class a) ["#::." - (#static forName [java/lang/String] #try (java/lang/Class java/lang/Object))]) + ("static" forName [java/lang/String] "try" (java/lang/Class java/lang/Object))]) (ffi.import: java/lang/Object ["#::." @@ -99,7 +99,7 @@ (ffi.import: org/renjin/sexp/AttributeMap ["#::." - (#static EMPTY org/renjin/sexp/AttributeMap)]) + ("static" EMPTY org/renjin/sexp/AttributeMap)]) (ffi.import: org/renjin/sexp/AbstractSEXP) @@ -144,7 +144,7 @@ (ffi.import: org/renjin/sexp/FunctionCall ["#::." (new [org/renjin/sexp/SEXP org/renjin/sexp/PairList]) - (eval [org/renjin/eval/Context org/renjin/sexp/Environment] #try org/renjin/sexp/SEXP)]) + (eval [org/renjin/eval/Context org/renjin/sexp/Environment] "try" org/renjin/sexp/SEXP)]) (ffi.import: org/renjin/sexp/Closure ["#::." @@ -152,7 +152,7 @@ (ffi.import: javax/script/ScriptEngine ["#::." - (eval [java/lang/String] #try java/lang/Object)]) + (eval [java/lang/String] "try" java/lang/Object)]) (ffi.import: org/renjin/script/RenjinScriptEngine ["#::." diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux index a138f0c10..c76b44b96 100644 --- a/lux-ruby/source/program.lux +++ b/lux-ruby/source/program.lux @@ -93,7 +93,7 @@ (import: org/jruby/RubyString ["#::." - (#static newInternalFromJavaExternal [org/jruby/Ruby java/lang/String] org/jruby/RubyString) + ("static" newInternalFromJavaExternal [org/jruby/Ruby java/lang/String] org/jruby/RubyString) (asJavaString [] java/lang/String)]) (import: org/jruby/RubySymbol @@ -112,11 +112,11 @@ (import: org/jruby/RubyArray ["#::." (getLength [] int) - (get [int] #? Object)]) + (get [int] "?" Object)]) (import: org/jruby/RubyHash ["#::." - (get [java/lang/Object] #? java/lang/Object)]) + (get [java/lang/Object] "?" java/lang/Object)]) (import: org/jruby/runtime/ThreadContext) @@ -152,7 +152,7 @@ (import: org/jruby/embed/ScriptingContainer ["#::." (new []) - (runScriptlet [java/lang/String] #try #? java/lang/Object) + (runScriptlet [java/lang/String] "try" "?" java/lang/Object) (getProvider [] org/jruby/embed/internal/LocalContextProvider)]) ... TODO; Figure out a way to not need "interpreter" to be a global variable. @@ -193,7 +193,7 @@ (import: org/jruby/RubyBoolean ["#::." - (#static newBoolean [org/jruby/Ruby boolean] org/jruby/RubyBoolean)]) + ("static" newBoolean [org/jruby/Ruby boolean] org/jruby/RubyBoolean)]) (import: org/jruby/RubyNil ["#::." @@ -201,11 +201,11 @@ (import: org/jruby/runtime/Block$Type ["#::." - (#enum PROC)]) + ("enum" PROC)]) (import: org/jruby/runtime/Signature ["#::." - (#static THREE_ARGUMENTS org/jruby/runtime/Signature)]) + ("static" THREE_ARGUMENTS org/jruby/runtime/Signature)]) (import: org/jruby/parser/StaticScope) @@ -218,15 +218,15 @@ (import: org/jruby/runtime/Block ["#::." - (#static NULL_BLOCK org/jruby/runtime/Block) + ("static" NULL_BLOCK org/jruby/runtime/Block) (type org/jruby/runtime/Block$Type) (getBody [] org/jruby/runtime/BlockBody)]) (import: org/jruby/RubyProc ["#::." - (#static newProc [org/jruby/Ruby org/jruby/runtime/Block org/jruby/runtime/Block$Type] org/jruby/RubyProc) + ("static" newProc [org/jruby/Ruby org/jruby/runtime/Block org/jruby/runtime/Block$Type] org/jruby/RubyProc) (call [org/jruby/runtime/ThreadContext [org/jruby/runtime/builtin/IRubyObject]] - #try org/jruby/runtime/builtin/IRubyObject)]) + "try" org/jruby/runtime/builtin/IRubyObject)]) (type: Translator (-> java/lang/Object (Try Any))) @@ -360,7 +360,7 @@ (import: java/util/Arrays ["#::." - (#static [t] copyOfRange [[t] int int] [t])]) + ("static" [t] copyOfRange [[t] int int] [t])]) (def: (lux_wrapper_access lux_structure value) (-> (-> (Array java/lang/Object) org/jruby/runtime/builtin/IRubyObject) |