we would modell as
CInt(x) > 5 and CInt(x) <= 8
A fully functionality like an EVAL() (javascript) we dont have Out-Of-The-Box
But lets loop in @StefanSchnell as maybe we can integrate an inline compilation / execution e.g. with Roslyn and build a EVAL feature by ourself