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

[wip] solc parser rewrite #627

Closed
wants to merge 1 commit into from
Closed

[wip] solc parser rewrite #627

wants to merge 1 commit into from

Conversation

samczsun
Copy link
Contributor

@samczsun samczsun commented Sep 4, 2020

the codebase is littered with is_compact_ast and it's hard to work with magic dictionaries everywhere. this PR introduces a new parsing step which translates solc ast json into a plain python object and handles any inconsistencies between different solc versions.

creating the pr now so I can have the ci run some tests

todo:

  • handle try/catch in legacy ast format
  • write some tests

@samczsun samczsun requested a review from montyly September 4, 2020 23:48
@lgtm-com
Copy link

lgtm-com bot commented Sep 5, 2020

This pull request introduces 7 alerts when merging 201d373 into 290a99f - view on LGTM.com

new alerts:

  • 5 for Unused import
  • 2 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Sep 5, 2020

This pull request introduces 7 alerts when merging 7e16023 into 290a99f - view on LGTM.com

new alerts:

  • 5 for Unused import
  • 2 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Sep 5, 2020

This pull request introduces 2 alerts when merging 9555104 into 290a99f - view on LGTM.com

new alerts:

  • 2 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Sep 5, 2020

This pull request introduces 2 alerts when merging f518488 into 290a99f - view on LGTM.com

new alerts:

  • 2 for 'import *' may pollute namespace

@samczsun samczsun force-pushed the feature/parser-rewrite branch from f518488 to f6ced52 Compare September 26, 2020 23:38
@lgtm-com
Copy link

lgtm-com bot commented Sep 26, 2020

This pull request introduces 2 alerts when merging f6ced52 into 4812e33 - view on LGTM.com

new alerts:

  • 2 for 'import *' may pollute namespace

@montyly
Copy link
Member

montyly commented Feb 8, 2022

I am closing this PR. While this was great progress, the codebase has evolved too much for this PR to be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants