diff options
author | Eduardo Julian | 2022-06-05 01:39:29 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-05 01:39:29 -0400 |
commit | f623de52d76ad8ec96feb048cd95a3fb150717e1 (patch) | |
tree | 92a53eb8e5a25287e59eb104716abe5cc2ebd60a /lux-python | |
parent | 75e8244fd7914d2ac0c3622d2277b84c4bfa7ffb (diff) |
De-sigil-ification: : [Part 1]
Diffstat (limited to 'lux-python')
-rw-r--r-- | lux-python/source/program.lux | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index b8cd43d0b..4218cf248 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -2,7 +2,7 @@ [library [lux (.except) [program (.only program:)] - ["[0]" ffi (.only import:)] + ["[0]" ffi (.only import)] ["[0]" debug] ["[0]" static] [abstract @@ -72,49 +72,49 @@ [program ["/" compositor]]) -(with_expansions [<jvm> (these (import: java/lang/String +(with_expansions [<jvm> (these (import java/lang/String "[1]::[0]") - (import: (java/lang/Class a) + (import (java/lang/Class a) "[1]::[0]" ("static" forName [java/lang/String] (java/lang/Class java/lang/Object)) (getName [] java/lang/String)) - (import: java/lang/Object + (import java/lang/Object "[1]::[0]" (new []) (toString [] java/lang/String) (getClass [] (java/lang/Class java/lang/Object))) - (import: org/python/core/PyNone + (import org/python/core/PyNone "[1]::[0]") - (import: org/python/core/PyInteger + (import org/python/core/PyInteger "[1]::[0]") - (import: org/python/core/PyTuple + (import org/python/core/PyTuple "[1]::[0]") - (import: org/python/core/PyList + (import org/python/core/PyList "[1]::[0]") - (import: org/python/core/PyBoolean + (import org/python/core/PyBoolean "[1]::[0]" (new [boolean])) - (import: org/python/core/PyLong + (import org/python/core/PyLong "[1]::[0]" (new [long])) - (import: org/python/core/PyFloat + (import org/python/core/PyFloat "[1]::[0]" (new [double])) - (import: org/python/core/PyString + (import org/python/core/PyString "[1]::[0]" (new [java/lang/String])) - (import: org/python/core/PyObject + (import org/python/core/PyObject "[1]::[0]" (asInt [] java/lang/Integer) (asLong [] long) @@ -125,19 +125,19 @@ (__getitem__ "as" __getitem__dict [org/python/core/PyObject] "try" org/python/core/PyObject) (__len__ [] int)) - (import: org/python/core/PyFunction + (import org/python/core/PyFunction "[1]::[0]" (__call__ [[org/python/core/PyObject]] "try" org/python/core/PyObject)) - (import: org/python/core/ThreadState + (import org/python/core/ThreadState "[1]::[0]") - (import: org/python/core/PyArray + (import org/python/core/PyArray "[1]::[0]" (new [(java/lang/Class [? < java/lang/Object]) java/lang/Object]) (getArray [] java/lang/Object)) - (import: org/python/util/PythonInterpreter + (import org/python/util/PythonInterpreter "[1]::[0]" (new []) (exec [java/lang/String] "try" void) @@ -202,7 +202,7 @@ (ffi.interface: LuxValue (value [] java/lang/Object)) - (import: LuxValue + (import LuxValue "[1]::[0]" (value [] java/lang/Object)) @@ -297,7 +297,7 @@ (java/lang/Class java/lang/Object) (java/lang/Object::getClass (java/lang/Object::new))) - (import: library/lux/Function + (import library/lux/Function "[1]::[0]") (def: (to_host|array to_host it) @@ -448,8 +448,8 @@ @.jvm <jvm> @.python - (these (import: (dict [] ffi.Dict)) - (import: (eval [ffi.String ffi.Dict] "try" Any)) + (these (import (dict [] ffi.Dict)) + (import (eval [ffi.String ffi.Dict] "try" Any)) (def: host (IO (Host (_.Expression Any) (_.Statement Any))) |