I've been playing with AbyssDragon's (A.K.A. nick.cash) SET library the past couple days. I've optimized it a little and made it easier to expand. Check it out at http://developer.byond.com/hub/Shadowdarke/SET_Mod :)
Thanks Nick! Without SET, I would probably never have had the time or patience to work on an expression evaluation library.