Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output Yul ASTs #9590

Open
leonardoalt opened this issue Aug 6, 2020 · 3 comments
Open

Output Yul ASTs #9590

leonardoalt opened this issue Aug 6, 2020 · 3 comments

Comments

@leonardoalt
Copy link
Member

@leonardoalt leonardoalt commented Aug 6, 2020

It would be helpful/essential for verification tools to have access to the Yul ASTs that are generated throughout compilation via Yul.

@leonardoalt leonardoalt changed the title Output Yul AST Output Yul ASTs Aug 6, 2020
@chriseth
Copy link
Contributor

@chriseth chriseth commented Aug 6, 2020

Related to #9053

@chriseth chriseth added this to New issues in Solidity via automation Aug 20, 2020
@chriseth chriseth moved this from New issues to Implementation Backlog in Solidity Aug 20, 2020
@chriseth chriseth moved this from Implementation Backlog to Design Backlog in Solidity Aug 20, 2020
@chriseth
Copy link
Contributor

@chriseth chriseth commented Aug 20, 2020

I'm wondering - is it really essential or would it also work to run solidity in yul mode and output the ast?

@leonardoalt
Copy link
Member Author

@leonardoalt leonardoalt commented Aug 20, 2020

Which ast would that be? What I'm imagining is that all the Yul compilation steps could be exported:

  • Solidity -> Yul
  • Yul -> Optimized Yul
  • Optimized Yul -> Dialect Yul (if applicable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Solidity
  
Design Backlog
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.