mkhan45 / RustScript2

RustScript is a functional scripting language with as much relation to Rust as Javascript has to Java.
https://mkhan45.github.io/RustScript2/
Other
36 stars 2 forks source link

Prefix operators #16

Closed WilliamRagstad closed 2 years ago

WilliamRagstad commented 2 years ago

Added ~ as prefix negate operator for both integers and booleans. Most preferably would be to re-use the already existing binary operator -. Any feedback on this would be great.

Closes #13 Blocked by #15