Decompiler to CLL?

Is there a Decompiler available anywhere which outputs CLL? It would be nice to easily inspect the contracts that people are testing with.




  • mquandallemquandalle FranceMember Posts: 50 ✭✭
    Yes we need this. And it wouldn't probably be too difficult to develop. Basically we need to transform the stack code to an abstract tree and then use an existing compiler to target a python-like syntax.

    I may work on this in the next few days.
  • napsynapsy Member Posts: 2
    @mquandalle: do you thinking about an ES->LLL or ES->CLL implementation?
    how do you plan to do this?
    I'm thinking about doing something similar.
  • mquandallemquandalle FranceMember Posts: 50 ✭✭
    I was thinking about ES->CLL. Maybe I will use the coffeescript syntax which is quite similar, and there are already parser and compiler with an intermediate AST. So I could just write an ES->AST and AST->ES, reusing the code in the ethereum/compiler github repo.
Sign In or Register to comment.