Open maxonfjvipon opened 1 year ago
@maxonfjvipon Got it. I'll try to implement it.
@volodya-lombrozo @maxonfjvipon I suggest to close this ticket and DON'T implement this functionality. Instead, this particular plugin should only translate Bytecode into EO with opcode
object per each instruction.
@yegor256 I agree, but I suggest to close this ticket only after moving this issue into another repository (together with the integration test which we already wrote https://github.com/objectionary/jeo-maven-plugin/pull/264)
I have such java code:
This code is translated to the EO that looks like this:
If we simplify the code and get rid of all "syntax noice" that is needed to be able to convert such EO back to bytecode we get the next EO code:
This code is flat and it loses object composition. In order to be able to make inlining I would be happy if simplified example of translated EO would look like:
This code is as close as possible to what we originally had in java.