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(compiler): Add equality ops [fixes LNG-217] #820

Merged
merged 12 commits into from
Aug 9, 2023

Conversation

InversionSpaces
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Jul 31, 2023

LNG-217 Add equality comparison operators

Add binary operators == and != for values of any type (same type)

== and != should have higher precedence than && and ||, but lower precedence than any other oparetor

Inline <left> == <right> to

<left-inline>
<right-inline>
(xor
  (match <left-res> <right-res> (ap true <res>))
  (ap false <res>)
)

(use mismatch for !=)

@DieMyst DieMyst added the e2e Run e2e workflow label Aug 1, 2023
@InversionSpaces InversionSpaces enabled auto-merge (squash) August 2, 2023 08:39
@InversionSpaces InversionSpaces merged commit a5e9354 into main Aug 9, 2023
10 checks passed
@InversionSpaces InversionSpaces deleted the feat/equality-ops branch August 9, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e Run e2e workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants