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

discuss: spanned AST #678

Draft
wants to merge 8 commits into
base: develop
Choose a base branch
from
Draft

discuss: spanned AST #678

wants to merge 8 commits into from

Conversation

0xaatif
Copy link
Contributor

@0xaatif 0xaatif commented Oct 1, 2024

@Nashtare you were curious about the work required to get more IDE integration.

I think this is the cheapest way to get where we want - do note the non goals as things that can't be achieved by the current design.

I reuse Rust's lexer, and the syn parsing framework.

ast2.rs replaces the following files:

  • evm_asm.pest
  • ast.rs
  • parser.rs

Worth getting a sizing from you as to how to make the rest of the interpreter/compiler work with the new frontend.

Part of investigation for #299

@github-actions github-actions bot added the crate: evm_arithmetization Anything related to the evm_arithmetization crate. label Oct 1, 2024
@@ -1,21 +1,21 @@
///////////////////////////////////////
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops :^)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: evm_arithmetization Anything related to the evm_arithmetization crate.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant