diff options
Diffstat (limited to 'lux-ruby')
-rw-r--r-- | lux-ruby/source/program.lux | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux index 8733c42d4..8c2cb3480 100644 --- a/lux-ruby/source/program.lux +++ b/lux-ruby/source/program.lux @@ -2,126 +2,126 @@ [library [lux "*" [program {"+" [program:]}] - ["." debug] - ["." ffi {"+" [import:]}] - ["." meta] + ["[0]" debug] + ["[0]" ffi {"+" [import:]}] + ["[0]" meta] [abstract - ["." monad {"+" [do]}]] + ["[0]" monad {"+" [do]}]] [control [pipe {"+" [new>]}] - ["." maybe] - ["." try {"+" [Try]}] - ["." exception {"+" [exception:]}] - ["." io {"+" [IO io]}] - ["." function] + ["[0]" maybe] + ["[0]" try {"+" [Try]}] + ["[0]" exception {"+" [exception:]}] + ["[0]" io {"+" [IO io]}] + ["[0]" function] [concurrency - ["." async {"+" [Async]}]] + ["[0]" async {"+" [Async]}]] ["<>" parser - ["<.>" code]]] + ["<[0]>" code]]] [data - ["." text ("#\." hash) + ["[0]" text ("[1]\[0]" hash) ["%" format {"+" [format]}] [encoding - ["." utf8]]] + ["[0]" utf8]]] [collection - ["." array {"+" [Array]}] - ["." list]]] - ["." macro + ["[0]" array {"+" [Array]}] + ["[0]" list]]] + ["[0]" macro [syntax {"+" [syntax:]}] - ["." template] - ["." code]] + ["[0]" template] + ["[0]" code]] [math [number {"+" [hex]} ["n" nat] ["i" int] - ["." i64]]] - ["." world "_" - ["." file] - ["#/." program]] + ["[0]" i64]]] + ["[0]" world "_" + ["[0]" file] + ["[1]/[0]" program]] ["@" target ["_" ruby]] [tool [compiler - ["." phase {"+" [Operation Phase]}] + ["[0]" phase {"+" [Operation Phase]}] [reference [variable {"+" [Register]}]] [language [lux [program {"+" [Program]}] [generation {"+" [Context Host]}] - ["." synthesis] + ["[0]" synthesis] [analysis [macro {"+" [Expander]}]] [phase - ["." extension {"+" [Extender Handler]} - ["#/." bundle] - ["." analysis "_" - ["#" ruby]] - ["." generation "_" - ["#" ruby]]] + ["[0]" extension {"+" [Extender Handler]} + ["[1]/[0]" bundle] + ["[0]" analysis "_" + ["[1]" ruby]] + ["[0]" generation "_" + ["[1]" ruby]]] [generation - ["." reference] - ["." ruby - ["." runtime]]]]]] + ["[0]" reference] + ["[0]" ruby + ["[0]" runtime]]]]]] [default - ["." platform {"+" [Platform]}]] + ["[0]" platform {"+" [Platform]}]] [meta [archive {"+" [Archive]}] - ["." packager "_" - ["#" script]]]]]]] + ["[0]" packager "_" + ["[1]" script]]]]]]] [program ["/" compositor - ["/." cli] - ["/." static]]]) + ["/[0]" cli] + ["/[0]" static]]]) (import: java/lang/String) (import: (java/lang/Class a)) (import: java/lang/Object - ["#::." + ["[1]::[0]" (toString [] java/lang/String) (getClass [] (java/lang/Class java/lang/Object))]) (import: java/lang/Integer - ["#::." + ["[1]::[0]" (longValue [] java/lang/Long)]) (import: java/lang/Long - ["#::." + ["[1]::[0]" (intValue [] java/lang/Integer)]) (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 - ["#::." + ["[1]::[0]" (asJavaString [] java/lang/String)]) (import: org/jruby/runtime/builtin/IRubyObject) (import: org/jruby/Ruby - ["#::." + ["[1]::[0]" (getCurrentContext [] org/jruby/runtime/ThreadContext) (getNil [] org/jruby/runtime/builtin/IRubyObject)]) (import: org/jruby/RubyClass) (import: org/jruby/RubyArray - ["#::." + ["[1]::[0]" (getLength [] int) (get [int] "?" Object)]) (import: org/jruby/RubyHash - ["#::." + ["[1]::[0]" (get [java/lang/Object] "?" java/lang/Object)]) (import: org/jruby/runtime/ThreadContext) (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)]) @@ -129,7 +129,7 @@ (getValue [] java/lang/Object)) (import: program/StructureValue - ["#::." + ["[1]::[0]" (getValue [] java/lang/Object)]) (syntax: (method_inputs [input_classes (<code>.tuple (<>.some <code>.any))]) @@ -146,11 +146,11 @@ (import: org/jruby/runtime/builtin/InternalVariables) (import: org/jruby/embed/internal/LocalContextProvider - ["#::." + ["[1]::[0]" (getRuntime [] org/jruby/Ruby)]) (import: org/jruby/embed/ScriptingContainer - ["#::." + ["[1]::[0]" (new []) (runScriptlet [java/lang/String] "try" "?" java/lang/Object) (getProvider [] org/jruby/embed/internal/LocalContextProvider)]) @@ -172,58 +172,58 @@ (!ruby_runtime)) (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/runtime/callsite/CacheEntry - ["#::." + ["[1]::[0]" (new [org/jruby/internal/runtime/methods/DynamicMethod int])]) (import: org/jruby/RubyFixnum - ["#::." + ["[1]::[0]" (new [org/jruby/Ruby long]) (getLongValue [] long)]) (import: org/jruby/RubyFloat - ["#::." + ["[1]::[0]" (new [org/jruby/Ruby double])]) (import: org/jruby/RubyBoolean - ["#::." + ["[1]::[0]" ("static" newBoolean [org/jruby/Ruby boolean] org/jruby/RubyBoolean)]) (import: org/jruby/RubyNil - ["#::." + ["[1]::[0]" (new [org/jruby/Ruby])]) (import: org/jruby/runtime/Block$Type - ["#::." + ["[1]::[0]" ("enum" PROC)]) (import: org/jruby/runtime/Signature - ["#::." + ["[1]::[0]" ("static" THREE_ARGUMENTS org/jruby/runtime/Signature)]) (import: org/jruby/parser/StaticScope) (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/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 - ["#::." + ["[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]] "try" org/jruby/runtime/builtin/IRubyObject)]) @@ -359,7 +359,7 @@ java/lang/Object::toString)])) (import: java/util/Arrays - ["#::." + ["[1]::[0]" ("static" [t] copyOfRange [[t] int int] [t])]) (def: (lux_wrapper_access lux_structure value) |