Refactor/hir lazy eval#152
Open
cykna wants to merge 73 commits into
Open
Conversation
…nd parsing of types
Refactor/module loader
…pools, and types context to properly generate these types
…dedup pool) and added new helpers to abstract the old ones
…mented inside hir since it does NOT need any kind of complex inference anymore
feat: dedup pool shouldnt have it because it won't follow the hash, and if another one with same data is already inside, it'd stop being a dedup pool. so it must keep as an append only vector
…ork lazily during file reads
…rtion and finding
…d instead of references to nodes, that can be acquired by the id
note: Text and Div components now are being required to be determined, this is mainly because of the bootstrap that is being intendeed. In the future more it'll be able to define how styles should apply and what primitives the language should have in the language itself. This is mainly temporary due to not being finalized the bootstrap fully
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR modifies the codebase to work purely with Pools and Dedup pools and lazily.
This refactor implements how HIR is generated, and its internal structure.
This is intended to break some things, such as styles and specialized components. The main reason is that it will be simpler for the backends to define the primitive components(the ones that properly enter the scene graph since components are just views to them). This will grant benefits to the compiler itself since it will need to handle less code, only the ones that make components to be defined.
Scope
Validation
List the commands, tests, or manual checks you ran.
Documentation Impact
Checklist
Related Issues
Closes N/A