-
Notifications
You must be signed in to change notification settings - Fork 54
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
Move solidity-parser to the trufflesuite organization? #89
Comments
Hi Tim, I think it's a good decision. I am slowly disengaging from the project actually. I think it works fine for simple imports parsing but for full Solidity parsing its structure is just too different from the official Solidity specification, which almost guarantees that it will keep breaking for all sorts of edge cases. I have been working on an alternative parser which should be production ready by now: https://github.com/federicobond/solidity-parser-antlr It should avoid most of the problems people are encountering due to differences between solc and solidity-parser. |
Would you be interested in merging |
Hmm, actually, now that I think about it, it might be best to go the other way around (move this repo to your org and let you control it) |
That seems reasonable. A good Solidity parser is critical for several components in Truffle and the current one is not being actively maintained. I would be happy to take control of Also, let me know if you need any features not implemented in the new code base. |
Thanks for the response @federicobond. Can you give me quick rundown of what makes ANTLR4 better? Are there any non-functional differences (speed, etc.)? |
|
Sounds awesome. Biggest need for Truffle, beyond a consistent AST, is the ability to parse for imports without parsing the rest of the code. This is mainly for performance, as when building a dependency tree of solidity files parsing the rest of the code is unnecessary (for |
I think so, but it's not a use case I am actively interested in maintaining. Why not create a |
Probably worth it. |
I did some tests with So... Next steps:
|
Thanks @federicobond. Give me some time to explore options on my own and discuss with my team before we proceed. |
Hey @federicobond. I've talked to my team, as well as Consensys. We'd like to transfer this repository to a place that you control. Additionally, I'd like to transfer ownership of the |
@federicobond Please do consider the following issues & their fixes: |
Hi, sorry for the delay. You can transfer it to @duaraghav8 please know that the PEG.js grammar will be deprecated in a 1.0 release, so I advice you to start migrating your code to the |
Hi all, @federicobond,
The Truffle team has grown. In order to help us maintain this repository, we'd love to move it to the
trufflesuite
organization, where issues can be more easily managed by the Truffle team and we can incorporate them into our development process. The name and thenpm
module name will not change.Adding this ticket to solicit feedback. Would love your thoughts.
Thanks!
Tim
The text was updated successfully, but these errors were encountered: