Changes between Version 37 and Version 38 of j2p


Ignore:
Timestamp:
07/11/23 17:07:23 (17 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v37 v38  
    4747||Map, HashMap||dict||
    4848||Set||set||
     49
     50==== Classes
     51Classes are by default translated using the "Stub" translator which assumes
     52assumes the class names and modules are identical in Python and Java,
     53and that all functions have the same functions with the same arguments and types.
     54
     55References to classes in the code (SomeClass.class in java) translates to SomeClass in Python. It is assumed the proper imports are done on the python side to enable this.
     56
     57This default translation can be overridden using custom translators.
    4958
    5059==== built-in classes