Open andyfriesen opened 8 years ago
Unary ops in general. I think we want - and ~ (complement) in the least.
Though I could be convinced we should just use functions for this. not, complement, and negate. Thoughts?
Did you mean to comment on https://github.com/andyfriesen/crux/issues/44 instead? This issue is about numeric literals.
I guess they're related. For example, iirc, C doesn't have negative numeric literals. It only has an unary negation operator that can be applied to positive numeric literals.
ah. I understand now. I don't have a stance one way or another.
oops!