-
Notifications
You must be signed in to change notification settings - Fork 612
Split parser into multiple files #344
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
Conversation
Pull Request Test Coverage Report for Build 1196621825Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
The commit If this is unacceptable, I will revert the commit. |
/cc @alamb @Dandandan what do you think? |
Signed-off-by: koushiro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution @koushiro
I am not opposed to this change, but I am not sure if the additional value is worth the potential risk to breaking downstream consumers. I will let others weigh in as well
I dropped the commit /cc @alamb @Dandandan Is there any progress? |
I am of two minds here -- I like that you are trying to improve the codebase, but I am worried about doing a substantial reorganization that offers contributors to the library some benefit but imposes costs on users of the library. |
At least this PR has no other breaking changes except for the visibility changes of some functions. I think this won't impose costs on the users of the library. |
Signed-off-by: koushiro [email protected]
I found that the parser module is only in one large file, which is not very friendly for viewing the code and resolving git conflicts, so I split it by the way when I view the code, but I don’t know if this big PR can be accepted (without changing the parser logic)
visibility changes:
pub fn parse_identifiers
==>fn parse_identifiers
fn parse_prepare
==>pub fn parse_prepare
fn parse_execute
==>pub fn parse_execute
fn parse_deallocate
==>pub fn parse_deallocate