aboutsummaryrefslogtreecommitdiff
path: root/lux-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'lux-ruby')
-rw-r--r--lux-ruby/source/program.lux22
1 files changed, 11 insertions, 11 deletions
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)