diff options
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/python')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/python/eval.jvm.lux | 10 | ||||
-rw-r--r-- | new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux | 2 |
2 files changed, 6 insertions, 6 deletions
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)) |