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

Use AST for all code generation, style changes #76

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

paradoxuum
Copy link
Contributor

@paradoxuum paradoxuum commented Jul 24, 2024

Refactors code generation code so both flat and nested codegen use an AST.

Also includes some style changes for consistency and formatting reasons:

  • Adds a newline to the end of the file
  • Typescript declarations have a semicolon at the end of each entry
  • Uses tabs instead of spaces for indentation

With these style changes, it results in code that conforms with StyLua and Biome's default rules.

Closes #70

@jackTabsCode jackTabsCode merged commit 85e083e into jackTabsCode:main Jul 30, 2024
4 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.

Unify codegen code, rewrite flat codegen
2 participants