Changes between Version 7 and Version 8 of j2p


Ignore:
Timestamp:
06/07/23 14:19:56 (18 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v7 v8  
    22
    33This tool can translate java programs into python programs.
    4 This is a complex mechanism and still somewhat experimental.
     4This is a complex mechanism and still experimental/in development.
    55It can translate both single file java programs as multi-file projects.
    6 
     6It supports translating calls to external libraries.
     7It generates a zip file containing the translated files plus installation directions, ready to be used with the "pip install" command;
     8We also have a library supporting running these zip files from java.
    79
    810There are a number of packages inside this project, because this translator has a modular setup:
     
    2931
    3032== Usage
    31 Comments can contain python code if the block starts with {{{#PY}}}. This code replaces the entire object (if/case/while block; statement) that follows the comment.
     33
     34== Overriding the translation
     35Comments can contain python code to override the automatic code, if the block starts with {{{#PY}}}. This code replaces the entire object (if/case/while block; statement) that follows the comment.
    3236
    3337Python has strict requirements regarding indentation. To make this possible, we need to be strict about indentation as well. In a single line python comment, the code must look exactly like