franck44 / evm-dis

An EVM bytecode disassembler/assembler
Apache License 2.0
29 stars 6 forks source link

Report issues in Python/Java code generation #14

Open franck44 opened 9 months ago

franck44 commented 9 months ago

The code generation is currently broken for Java as there is an error when compiling the Java generated file. This is due to the use of a lambda in the Dafny code that improbably not fully translated in Java.

  1. report this issue to Dafny.

Another issue is with tail continuations and seem to appear with many targets. It is a bit more complicated to report and stems from using a recursive computation in a datatype. There is an example of a Python translation with the problem that I should submit to Dafny.

  1. submit the tail continuation issue.
franck44 commented 8 months ago

This issue provides a workaround. I have disabled the tail recursion attributes on some functions for now.