I mean function that is only able to do logical and mathematical operations, for example: 3+5<=9, "string"=="string" && (3<9 || 12>3), but not like this a+b<c, "string".length > 3 or calling functions, so the programmer must resolve (by regex or otherwise) all the possible names before it is evaluated ?
edit:
So I found one good reason to use eval() ...
 
     
    