Closed alexkasko closed 2 years ago
Is there any particular reason you wanted to remove all the newlines from the generated source code?
Anyway, I'll look into the relative package thing. I'm not to familiar with Jython, but it would be nice to support it if possible.
No, no particular reason, I've just made it looks more like typical java code (with braces on the same line).
Besides relative imports only error was _format_ops['>']
thing, I don't understand what is going on here, but jython cannot create PyStruct with empty string argument, and '>' argument fixed it (and I hope didn't broke anything).
Closing this as I'm rewriting Krakatau in Rust.
Hi,
I've successfully used this project with Jython 2.7b1 (you may see results in my github project).
I applied this patch - https://gist.github.com/alexkasko/6781413 , besides jython compatibility changes (packages naming and struct creation in
in generated source code (these changes are, of course, optional).
assembler.py
) it also changes some\n
toThanks for the great tools!