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

Syntax: define operators #14

Closed
fly-lang opened this issue Feb 10, 2021 · 1 comment · Fixed by #28
Closed

Syntax: define operators #14

fly-lang opened this issue Feb 10, 2021 · 1 comment · Fixed by #28
Labels
good first issue Good for newcomers planning For project plan tracking

Comments

@fly-lang
Copy link
Owner

fly-lang commented Feb 10, 2021

Chose the representation of the following operators:

  • Arithmetic Operators
  • Relational Operators
  • Logical Operators
  • Bitwise Operators
  • Assignment Operators
@fly-lang fly-lang added the good first issue Good for newcomers label Feb 10, 2021
@fly-lang fly-lang changed the title Syntax: define arithmetic and comparison operators Syntax: define operators Feb 10, 2021
@fly-lang fly-lang added the planning For project plan tracking label Feb 11, 2021
@marcoromagnolo
Copy link
Collaborator

marcoromagnolo commented Apr 30, 2021

Bit Operator:

 & 
 &= 
 |  
 |=  
 ^ 
 ^= 
 << 
 <<= 
 >> 
 >>= 

Comparison Operator:

 ==  
 != 
 <=  
 >=  
 < 
 > 

Logical Operator:

 && 
 || 
 ! 

Arithmetic Operator:

 * 
 *= 
 + 
 ++ 
 += 
 - 
 -- 
 -= 
 / 
 /= 
 %  
 %= 

Ternary Operator:

 ?  
 :  

** Operators with an equal on end is an assignment (except for comparison)

@fly-lang fly-lang linked a pull request Aug 24, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers planning For project plan tracking
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants