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

Feat(optim)!: rewrite of the constant folding pass #35

Merged
merged 54 commits into from
Feb 12, 2024
Merged

Conversation

EmileRolley
Copy link
Collaborator

@EmileRolley EmileRolley commented Jan 15, 2024

Add a way to serialize parsed rules which facilitate the substitution of constants. Furthermore, the rewrite allows to identify and fixes previous problematic behaviors in the previous constant folding pass (e.g. be aware of the rule's contexte, and conditional applicability of namespaces).

@EmileRolley EmileRolley added ✨ enhancement New feature or request ⚡ optims Issues related to the `optims` module labels Jan 15, 2024
@EmileRolley EmileRolley force-pushed the optim-v2 branch 6 times, most recently from 8ec176c to 369fc00 Compare January 17, 2024 12:17
@EmileRolley EmileRolley marked this pull request as ready for review January 22, 2024 16:45
Clemog and others added 20 commits February 12, 2024 10:38
@EmileRolley j'ai tenté un truc mais le souci c'est qu'on n'a plus dans la règle qu'on ne doit pas optimiser l'info du recalcul/context mais seulement via le parent, règle par laquelle on passe "trop" tard
J'ai raconté n'importe quoi dans mon dernier commit ! 😶
Pas sur que ce soit utile mais j'ai toujours une erreur avec l'optim alors que tous les tests passent ici :/
@EmileRolley EmileRolley merged commit 6e36c59 into main Feb 12, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request ⚡ optims Issues related to the `optims` module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants