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

go: generate formatted parser #260

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Conversation

mpkorstanje
Copy link
Contributor

⚡️ What's your motivation?

The go parser is currently generated and then formatted. This however requires that go is installed when generating the parser. This added dependency makes code generation more complicated than it needs to be as this is yet another tool people need to install.

This in turn makes #154 more complicated than it needs to be.

By making the code generator generate formatted code we avoid this problem all together.

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

The go parser is currently generated and then formatted. This however
requires that go is installed when generating the parser. This
added dependency makes code generation more complicated than it needs
to be as this is yet another tool people need to install.

This in turn makes #154 more complicated than it needs to be.

By making the code generator generate formatted code we avoid this
problem all together.
@mpkorstanje mpkorstanje merged commit 47ce60a into main Aug 2, 2024
4 checks passed
@mpkorstanje mpkorstanje deleted the go/generate-formatted-code branch August 2, 2024 22:12
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.

1 participant