-
Notifications
You must be signed in to change notification settings - Fork 0
Add dynamic value computation #38
Copy link
Copy link
Open
Labels
compilerSomething regarding the compilerSomething regarding the compilerenhancementNew feature or requestNew feature or requestsyntaxSyntax support for a featureSyntax support for a feature
Metadata
Metadata
Assignees
Labels
compilerSomething regarding the compilerSomething regarding the compilerenhancementNew feature or requestNew feature or requestsyntaxSyntax support for a featureSyntax support for a feature
Type
Fields
Give feedbackNo fields configured for Feature.
Projects
Status
In Progress
Is your feature request related to a problem? Please describe.
Natively, Hypixel actions only support direct assignment and update (eg
a = 2orb += 3).Describe the solution you'd like
Add an operator lowering compiler pass that transform complex computations like
a = b + 3 - 1and convert them to individual updates and if needed introduces temp variables.Describe alternatives you've considered
Additional context
Make sure these computations are very broadly tested and working correctly. For now I do not care if it makes slightly more temp variables then should be, but logical order must be 100% right.