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

Include the semantic of relational operations #3

Closed
meevee98 opened this issue Dec 13, 2019 · 0 comments
Closed

Include the semantic of relational operations #3

meevee98 opened this issue Dec 13, 2019 · 0 comments
Assignees

Comments

@meevee98
Copy link
Owner

meevee98 commented Dec 13, 2019

I'm converting everything to Kotlin because I was having too many problems with Null Pointer Exception with Java. #1 is the current list of what has to be done for now.
While is everything being refactored, should be good to check the current behaviour of the relational operations in the semantic phase.

Relational Operations:

  • Equality
    • Allowed to integer, boolean and character operands, with both operands having the same type
    • The result is always a boolean value
  • Inequality
    • Allowed to integer, boolean and character operands, with both operands having the same type
    • The result is always a boolean value
  • Greater than
    • Allowed to integer, rational and character operands, with both operands having the same type
    • The result is always a boolean value
  • Greater than or equal
    • Allowed to integer and character operands, with both operands having the same type
    • The result is always a boolean value
  • Less than
    • Allowed to integer, rational and character operands, with both operands having the same type
    • The result is always a boolean value
  • Less than or equal
    • Allowed to integer and character operands, with both operands having the same type
    • The result is always a boolean value
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

No branches or pull requests

1 participant