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: Higher-level machine + Add conditional expression #452

Draft
wants to merge 4 commits into
base: release/v1.10
Choose a base branch
from

Conversation

Azorlogh
Copy link
Contributor

@Azorlogh Azorlogh commented Aug 5, 2023

Back-porting of formancehq/stack#293 to v1

Make machine higher-level: Programs are now structured as a high-level trees rather than bytecode.
Also adds:

  • Boolean type
  • Arithmetic conditions (== != < <= > >=)
  • Logical operations (! && ||)
  • Conditionals through a ternary operator (syntax TBD, likely if $cond then $istrue else $isfalse)

flemzord pushed a commit that referenced this pull request Dec 4, 2023
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.

None yet

1 participant