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

Unify codegen code, rewrite flat codegen #70

Closed
jackTabsCode opened this issue Jun 25, 2024 · 0 comments · Fixed by #76
Closed

Unify codegen code, rewrite flat codegen #70

jackTabsCode opened this issue Jun 25, 2024 · 0 comments · Fixed by #76
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jackTabsCode
Copy link
Owner

Right now the codegen implementation for Flat and Nested are completely different. Flat uses crazy string formatting, and Nested uses an AST.

If we want to add more features or output to codegen in the future, this will make it pretty hard to reason about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant