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

Reuse expression #3

Merged
merged 4 commits into from
Jul 16, 2023
Merged

Reuse expression #3

merged 4 commits into from
Jul 16, 2023

Conversation

BaGoA
Copy link
Owner

@BaGoA BaGoA commented Jul 16, 2023

We added the possibility to define an reusable expression using the operator ':='.
We store this expression in Calculator structure with HashMap. Moreover we evaluate the current value and we store it in variables. Then, for each process we update all values of expressions in variables hash map.

@BaGoA BaGoA merged commit cf1ce30 into main Jul 16, 2023
@BaGoA BaGoA deleted the reuse-expression branch July 16, 2023 14:43
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.

1 participant