Skip to content

Conversation

@last-genius
Copy link
Contributor

No description provided.

Signed-off-by: Andrii Sultanov <sultanovandriy@gmail.com>
@last-genius last-genius changed the title [frontend] Drop unused StringToInt in lexer_gen.py [frontend] Drop unused code in lexer_gen.py Jan 8, 2026
@last-genius
Copy link
Contributor Author

not so sure about the second commit - might have been useful in debugging while strictly speaking it was commented out

@last-genius last-genius changed the title [frontend] Drop unused code in lexer_gen.py [frontend] Cleanup in lexer_gen.py Jan 8, 2026
@last-genius last-genius marked this pull request as ready for review January 8, 2026 19:54
@andychu
Copy link
Contributor

andychu commented Jan 8, 2026

Thanks, it's good to clean this up

Except I think we should keep PrintTree() because it helps remind us what the internal structure of Python is ... it is a debugging function

But yes the rest seems fine to delete.

These are already defined above with the same values, there is no point
definining them in each generated function as well.

Signed-off-by: Andrii Sultanov <sultanovandriy@gmail.com>
@last-genius
Copy link
Contributor Author

Except I think we should keep PrintTree() because it helps remind us what the internal structure of Python is ... it is a debugging function

Dropped this commit.

@andychu andychu changed the base branch from master to soil-staging January 8, 2026 21:33
@andychu andychu merged commit d279e06 into soil-staging Jan 9, 2026
19 checks passed
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.

3 participants