niv / neverwinter.nim

CLI tools and nim library used in Neverwinter Nights: Enhanced Edition development
MIT License
131 stars 29 forks source link

allow double bang (double boolean_not) #129

Closed tinygiant98 closed 3 months ago

tinygiant98 commented 3 months ago

Allows double boolean_not (!!x) without requiring the second booelan_not to be enclosed in parenthesis (i.e. !(!x)).

Testing

Tested the following use cases:

Changelog

Added

Licence

tinygiant98 commented 3 months ago

Exceptionally minor changes could also allow the following constructs, but I didn't add them in because they could be useless/confusing/undesired:

If anyone thinks these would be useful/desireable, I can add them in.