-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(bundler): implement enum inlining / more constant folding #12144
Merged
Merged
Changes from 11 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
982fa2c
start the enum pr
paperdave 32561d8
Merge remote-tracking branch 'origin/main' into dave/the-enum-pr
paperdave a30741f
wuh
paperdave 692a3e6
Merge remote-tracking branch 'origin/main' into dave/the-enum-pr
paperdave 1f9c562
compiler crash snapshot
paperdave 25a0695
enum hell
paperdave 856c895
wuh
paperdave 3aec7f1
a
paperdave 86f3145
Merge remote-tracking branch 'origin/main' into dave/the-enum-pr
paperdave 659c429
Merge remote-tracking branch 'origin/main' into dave/the-enum-pr
paperdave 443664e
yay
paperdave 8eaca9c
more
paperdave ffc5a14
ok
paperdave 420bb9e
j
paperdave dcacb31
guh
paperdave 14bab40
btw re-disabling constant inlining since it never was enabled
paperdave 8464487
hell
paperdave 8f8ce3f
resolve build failure
paperdave c3f24ad
Merge remote-tracking branch 'origin/main' into dave/the-enum-pr
paperdave af836f6
merge conflicts
paperdave aa68e41
yay
paperdave 4c6c253
stuff
paperdave e18be43
remove submodule i added on windows on accident, thanks vsc
paperdave 16526a7
fix namespaces
paperdave 7cc34cc
fix bugs
paperdave 9ba8659
Merge remote-tracking branch 'origin/main' into dave/the-enum-pr
paperdave f873bb4
resolve banned code on main
paperdave 9e50b7a
silly
paperdave bf69323
Apply formatting changes
paperdave bdfd100
remove known_enum_values in deinit
paperdave f0e7779
Add micro-optimization
Jarred-Sumner a7ad760
Test comment
Jarred-Sumner 95c5464
Test comment
Jarred-Sumner 6b61829
Test github action
Jarred-Sumner cc97f1a
Apply formatting changes
Jarred-Sumner 68913df
test github action
Jarred-Sumner b6d0cf8
Apply formatting changes
Jarred-Sumner b479bd3
Merge branch 'main' into dave/the-enum-pr
Jarred-Sumner 79dd97f
Merge branch 'main' into dave/the-enum-pr
Jarred-Sumner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apologies for doing a ton of other random things in this pr. i fixed the banned.json linter which resulted in needing to apply a ton of small transformations. i did this because i was sick of
std.debug.print
showing at all in my cmd+shift+f menu. this also resulted in the deletion of some old files, which some did not even past astgen.additionally, i have been using a client side spell-checker, so it just becomes annoying to see a ton of yellow underlines. maybe i will upstream a ci check to keep spelling somewhat intact (i have been very impressed with the
typos
cli and lsp, it is very low false positive).