diff options
Diffstat (limited to '')
-rw-r--r-- | lux-r/source/program.lux | 52 | ||||
-rw-r--r-- | lux-ruby/source/program.lux | 72 |
2 files changed, 62 insertions, 62 deletions
diff --git a/lux-r/source/program.lux b/lux-r/source/program.lux index c9cd4e17f..2f4fab588 100644 --- a/lux-r/source/program.lux +++ b/lux-r/source/program.lux @@ -68,105 +68,105 @@ ["[1][0]" cli] ["[1][0]" static]]]) -(ffi.import: java/lang/String +(ffi.import java/lang/String "[1]::[0]") -(ffi.import: (java/lang/Class a) +(ffi.import (java/lang/Class a) "[1]::[0]" ("static" forName [java/lang/String] "try" (java/lang/Class java/lang/Object))) -(ffi.import: java/lang/Object +(ffi.import java/lang/Object "[1]::[0]" (toString [] java/lang/String) (getClass [] (java/lang/Class java/lang/Object))) -(ffi.import: java/lang/Long +(ffi.import java/lang/Long "[1]::[0]" (intValue [] java/lang/Integer)) -(ffi.import: java/lang/Integer +(ffi.import java/lang/Integer "[1]::[0]" (longValue [] long)) -(ffi.import: java/lang/Number +(ffi.import java/lang/Number "[1]::[0]" (intValue [] java/lang/Integer) (longValue [] long) (doubleValue [] double)) -(ffi.import: org/renjin/sexp/SEXP +(ffi.import org/renjin/sexp/SEXP "[1]::[0]" (asInt [] int)) -(ffi.import: org/renjin/sexp/AttributeMap +(ffi.import org/renjin/sexp/AttributeMap "[1]::[0]" ("static" EMPTY org/renjin/sexp/AttributeMap)) -(ffi.import: org/renjin/sexp/AbstractSEXP +(ffi.import org/renjin/sexp/AbstractSEXP "[1]::[0]") -(ffi.import: org/renjin/sexp/IntArrayVector +(ffi.import org/renjin/sexp/IntArrayVector "[1]::[0]") -(ffi.import: org/renjin/sexp/Logical +(ffi.import org/renjin/sexp/Logical "[1]::[0]" (toBooleanStrict [] boolean)) -(ffi.import: org/renjin/sexp/LogicalVector +(ffi.import org/renjin/sexp/LogicalVector "[1]::[0]" (asLogical [] org/renjin/sexp/Logical)) -(ffi.import: org/renjin/sexp/LogicalArrayVector) +(ffi.import org/renjin/sexp/LogicalArrayVector) -(ffi.import: org/renjin/sexp/StringVector +(ffi.import org/renjin/sexp/StringVector "[1]::[0]" (asString [] java/lang/String)) -(ffi.import: org/renjin/sexp/StringArrayVector +(ffi.import org/renjin/sexp/StringArrayVector "[1]::[0]") -(ffi.import: org/renjin/sexp/Null +(ffi.import org/renjin/sexp/Null "[1]::[0]") -(ffi.import: org/renjin/sexp/ListVector +(ffi.import org/renjin/sexp/ListVector "[1]::[0]" (get "as" get_index [int] org/renjin/sexp/SEXP) (get "as" get_field [java/lang/String] org/renjin/sexp/SEXP) (length [] int)) -(ffi.import: org/renjin/sexp/PairList +(ffi.import org/renjin/sexp/PairList "[1]::[0]") -(ffi.import: org/renjin/sexp/PairList$Builder +(ffi.import org/renjin/sexp/PairList$Builder "[1]::[0]" (new []) (add [org/renjin/sexp/SEXP] org/renjin/sexp/PairList$Builder) (build [] org/renjin/sexp/PairList)) -(ffi.import: org/renjin/eval/Context +(ffi.import org/renjin/eval/Context "[1]::[0]") -(ffi.import: org/renjin/sexp/Environment +(ffi.import org/renjin/sexp/Environment "[1]::[0]") -(ffi.import: org/renjin/sexp/FunctionCall +(ffi.import org/renjin/sexp/FunctionCall "[1]::[0]" (new [org/renjin/sexp/SEXP org/renjin/sexp/PairList]) (eval [org/renjin/eval/Context org/renjin/sexp/Environment] "try" org/renjin/sexp/SEXP)) -(ffi.import: org/renjin/sexp/Closure +(ffi.import org/renjin/sexp/Closure "[1]::[0]" (getEnclosingEnvironment [] org/renjin/sexp/Environment)) -(ffi.import: javax/script/ScriptEngine +(ffi.import javax/script/ScriptEngine "[1]::[0]" (eval [java/lang/String] "try" java/lang/Object)) -(ffi.import: org/renjin/script/RenjinScriptEngine +(ffi.import org/renjin/script/RenjinScriptEngine "[1]::[0]" (getRuntimeContext [] org/renjin/eval/Context)) -(ffi.import: org/renjin/script/RenjinScriptEngineFactory +(ffi.import org/renjin/script/RenjinScriptEngineFactory "[1]::[0]" (new []) (getScriptEngine [] org/renjin/script/RenjinScriptEngine)) diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux index 50934cf91..ca2a3247b 100644 --- a/lux-ruby/source/program.lux +++ b/lux-ruby/source/program.lux @@ -3,7 +3,7 @@ [lux (.except) [program (.only program:)] ["[0]" debug] - ["[0]" ffi (.only import:)] + ["[0]" ffi (.only import)] ["[0]" meta] [abstract ["[0]" monad (.only do)]] @@ -73,81 +73,81 @@ [program ["/" compositor]]) -(import: java/lang/String +(import java/lang/String "[1]::[0]") -(import: (java/lang/Class a) +(import (java/lang/Class a) "[1]::[0]" (getSuperclass [] (java/lang/Class ?)) (isInstance [java/lang/Object] boolean)) -(import: java/lang/Object +(import java/lang/Object "[1]::[0]" (toString [] java/lang/String) (getClass [] (java/lang/Class java/lang/Object))) -(import: java/lang/Integer +(import java/lang/Integer "[1]::[0]" (longValue [] long)) -(import: java/lang/Long +(import java/lang/Long "[1]::[0]" (intValue [] int)) -(import: org/jruby/RubyString +(import org/jruby/RubyString "[1]::[0]" ("static" newInternalFromJavaExternal [org/jruby/Ruby java/lang/String] org/jruby/RubyString) (asJavaString [] java/lang/String)) -(import: org/jruby/RubySymbol +(import org/jruby/RubySymbol "[1]::[0]" (asJavaString [] java/lang/String)) -(import: org/jruby/runtime/builtin/IRubyObject +(import org/jruby/runtime/builtin/IRubyObject "[1]::[0]") -(import: org/jruby/Ruby +(import org/jruby/Ruby "[1]::[0]" (getCurrentContext [] org/jruby/runtime/ThreadContext) (getNil [] org/jruby/runtime/builtin/IRubyObject)) -(import: org/jruby/RubyClass +(import org/jruby/RubyClass "[1]::[0]") -(import: (org/jruby/RubyArray a) +(import (org/jruby/RubyArray a) "[1]::[0]" (getLength [] int) (get [int] "?" java/lang/Object)) -(import: org/jruby/RubyHash +(import org/jruby/RubyHash "[1]::[0]" (get [java/lang/Object] "?" java/lang/Object)) -(import: org/jruby/runtime/ThreadContext +(import org/jruby/runtime/ThreadContext "[1]::[0]") -(import: org/jruby/RubyRange +(import org/jruby/RubyRange "[1]::[0]" (first [org/jruby/runtime/ThreadContext] org/jruby/runtime/builtin/IRubyObject) (size [org/jruby/runtime/ThreadContext] org/jruby/runtime/builtin/IRubyObject)) -(import: org/jruby/runtime/JavaSites$CheckedSites +(import org/jruby/runtime/JavaSites$CheckedSites "[1]::[0]") -(import: org/jruby/runtime/builtin/Variable +(import org/jruby/runtime/builtin/Variable "[1]::[0]") -(import: org/jruby/runtime/builtin/InstanceVariables +(import org/jruby/runtime/builtin/InstanceVariables "[1]::[0]") -(import: org/jruby/runtime/builtin/InternalVariables +(import org/jruby/runtime/builtin/InternalVariables "[1]::[0]") -(import: org/jruby/embed/internal/LocalContextProvider +(import org/jruby/embed/internal/LocalContextProvider "[1]::[0]" (getRuntime [] org/jruby/Ruby)) -(import: org/jruby/embed/ScriptingContainer +(import org/jruby/embed/ScriptingContainer "[1]::[0]" (new []) (runScriptlet [java/lang/String] "try" "?" java/lang/Object) @@ -169,61 +169,61 @@ (def: initial_ruby_runtime (!ruby_runtime)) -(import: org/jruby/java/proxies/JavaProxy +(import org/jruby/java/proxies/JavaProxy "[1]::[0]" (new [org/jruby/Ruby org/jruby/RubyClass java/lang/Object]) (getObject [] java/lang/Object)) -(import: org/jruby/internal/runtime/methods/DynamicMethod +(import org/jruby/internal/runtime/methods/DynamicMethod "[1]::[0]") -(import: org/jruby/runtime/callsite/CacheEntry +(import org/jruby/runtime/callsite/CacheEntry "[1]::[0]" (new [org/jruby/internal/runtime/methods/DynamicMethod int])) -(import: org/jruby/RubyFixnum +(import org/jruby/RubyFixnum "[1]::[0]" (new [org/jruby/Ruby long]) (getLongValue [] long)) -(import: org/jruby/RubyFloat +(import org/jruby/RubyFloat "[1]::[0]" (new [org/jruby/Ruby double])) -(import: org/jruby/RubyBoolean +(import org/jruby/RubyBoolean "[1]::[0]" ("static" newBoolean [org/jruby/Ruby boolean] org/jruby/RubyBoolean)) -(import: org/jruby/RubyNil +(import org/jruby/RubyNil "[1]::[0]" (new [org/jruby/Ruby])) -(import: org/jruby/runtime/Block$Type +(import org/jruby/runtime/Block$Type "[1]::[0]" ("enum" PROC)) -(import: org/jruby/runtime/Signature +(import org/jruby/runtime/Signature "[1]::[0]" ("static" THREE_ARGUMENTS org/jruby/runtime/Signature)) -(import: org/jruby/parser/StaticScope +(import org/jruby/parser/StaticScope "[1]::[0]") -(import: org/jruby/parser/StaticScopeFactory +(import org/jruby/parser/StaticScopeFactory "[1]::[0]" (new [org/jruby/Ruby]) (getDummyScope [] org/jruby/parser/StaticScope)) -(import: org/jruby/runtime/BlockBody +(import org/jruby/runtime/BlockBody "[1]::[0]") -(import: org/jruby/runtime/Block +(import org/jruby/runtime/Block "[1]::[0]" ("static" NULL_BLOCK org/jruby/runtime/Block) (type org/jruby/runtime/Block$Type) (getBody [] org/jruby/runtime/BlockBody)) -(import: org/jruby/RubyProc +(import org/jruby/RubyProc "[1]::[0]" ("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]] @@ -363,7 +363,7 @@ java/lang/Object::toString ffi.of_string))) -(import: java/util/Arrays +(import java/util/Arrays "[1]::[0]" ("static" [t] copyOfRange [[t] int int] [t])) |