jarkonik/rocklang

Unary operations are not implemented

Closed this issue · 3 comments

Unary operations are not implemented

What kind of unary operators should be implemented? I was in code that there is only minus unary operator implemented in the parser.
Instead of + and - unary operators we want some more like ! or address & and indirection *?

General handling of unary needs to be implemented within the compiler, but i guess for now we only have minus operator to handle there

Ok, so in scope of this issue i will implement the minus unary operator in compiler layer.