ISibboI / evalexpr

A powerful expression evaluation crate 🦀.
GNU Affero General Public License v3.0
325 stars 54 forks source link

Implement bitwise shift functions #98

Closed FractalDiane closed 2 years ago

FractalDiane commented 2 years ago

Adds the shl and shr builtin functions for bitwise left and right shifts.

I decided to use this crate for an assembler I'm working on, but I need support for the shift operators, which this was missing. So I went ahead and added them!

ISibboI commented 2 years ago

Thanks, looks good!