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

Extracted method for parsing left group char in TexFormulaParser #442

Merged
merged 2 commits into from
Aug 12, 2023
Merged

Extracted method for parsing left group char in TexFormulaParser #442

merged 2 commits into from
Aug 12, 2023

Conversation

Lehonti
Copy link
Contributor

@Lehonti Lehonti commented Aug 12, 2023

I see that this parser is mutation-based...In the future I'd like to make it more immutable, more functional, and more generation-based. This is a step in that direction (although I don't think that's obvious right now). Thankfully all methods are private so refactoring is easier

@ForNeVeR ForNeVeR self-assigned this Aug 12, 2023
@ForNeVeR ForNeVeR self-requested a review August 12, 2023 11:46
@ForNeVeR
Copy link
Owner

I see that this parser is mutation-based...In the future I'd like to make it more immutable, more functional, and more generation-based.

We even have an issue about that: #29

Copy link
Owner

@ForNeVeR ForNeVeR left a comment

Choose a reason for hiding this comment

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

Other than a minor issue, LGTM!

Applied suggestion in pull request

Co-authored-by: Friedrich von Never <friedrich@fornever.me>
@Lehonti
Copy link
Contributor Author

Lehonti commented Aug 12, 2023

No problem, I accepted your suggestions :) And sure, I could probably refactor it at some point

Copy link
Owner

@ForNeVeR ForNeVeR left a comment

Choose a reason for hiding this comment

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

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants