diff options
author | Eduardo Julian | 2018-07-03 20:35:42 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-03 20:35:42 -0400 |
commit | 371a407a49ddf0f2fe1d977018fcd0a009c86043 (patch) | |
tree | 322daf75a391bfc49026867250e10c424c4ec978 /new-luxc/source/luxc/lang/translation/python | |
parent | c75e8aa8bc84af3b598292f3261354384b3cc80f (diff) |
- Re-named "import" to "import:".
Diffstat (limited to '')
3 files changed, 13 insertions, 13 deletions
diff --git a/new-luxc/source/luxc/lang/translation/python.lux b/new-luxc/source/luxc/lang/translation/python.lux index 8dac22fca..2e1b74340 100644 --- a/new-luxc/source/luxc/lang/translation/python.lux +++ b/new-luxc/source/luxc/lang/translation/python.lux @@ -28,23 +28,23 @@ [No-Anchor] ) -(host.import java/lang/Object) +(host.import: java/lang/Object) -(host.import java/lang/String +(host.import: java/lang/String (getBytes [String] #try (Array byte))) -(host.import java/lang/CharSequence) +(host.import: java/lang/CharSequence) -(host.import java/lang/Appendable +(host.import: java/lang/Appendable (append [CharSequence] Appendable)) -(host.import java/lang/StringBuilder +(host.import: java/lang/StringBuilder (new []) (toString [] String)) -(host.import org/python/core/PyObject) +(host.import: org/python/core/PyObject) -(host.import org/python/util/PythonInterpreter +(host.import: org/python/util/PythonInterpreter (new []) (exec [String] void) (eval [String] PyObject)) diff --git a/new-luxc/source/luxc/lang/translation/python/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/python/eval.jvm.lux index 88fdd3173..1ffcc5a1f 100644 --- a/new-luxc/source/luxc/lang/translation/python/eval.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/python/eval.jvm.lux @@ -21,20 +21,20 @@ [Cannot-Evaluate] ) -(host.import java/lang/Object +(host.import: java/lang/Object (toString [] String) (getClass [] (Class Object))) -(host.import java/lang/Long +(host.import: java/lang/Long (intValue [] Integer)) -(host.import org/python/core/PyType +(host.import: org/python/core/PyType (getName [] String)) -(host.import org/python/core/PyString +(host.import: org/python/core/PyString (new [String])) -(host.import org/python/core/PyObject +(host.import: org/python/core/PyObject (asLong [] long) (asDouble [] double) (asString [] String) diff --git a/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux index 6cd163210..a83a897d1 100644 --- a/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux @@ -218,7 +218,7 @@ ))) ## [[Numbers]] -(host.import java/lang/Double +(host.import: java/lang/Double (#static MIN_VALUE Double) (#static MAX_VALUE Double)) |