I used JythonToJava converter when creating the prototype GUI for the Das2Server params. This works fairly well, greatly reducing the amount of time needed to convert the code. However with the Java to Python converter I wrote a while ago my expectations are higher, and it would be nice to get this closer to the same capability.
This ticket is to enumerate the wants so I can get back to the task at hand.
converts to "if {} else { if ..."
No-arg split() should be replaced by split("\s+")
This also needs to be be redone like the Java to Jython converter, where it's not building the entire code, but instead each node is converted to a string and they are combined properly at higher level. No-arg split cannot be properly done because of this, an extra () is added:
if :...elif: ... is done.
split is done.
See also https://sourceforge.net/p/autoplot/bugs/2536/
See also https://sourceforge.net/p/autoplot/bugs/2566/