echo "/* operat2.c -- more operators for bs.  the ones that are all alike."
echo " */"
echo ""
echo "#include \"bsdefs.h\""
echo ""
op "iadd" "INT" "+" "ival"
op "radd" "DBL" "+" "rval" 
op "isub" "INT" "-" "ival" 
op "rsub" "DBL" "-" "rval" 
op "imult" "INT" "*" "ival" 
op "rmult" "DBL" "*" "rval" 
op "idiv" "INT" "/" "ival" 
op "rdiv" "DBL" "/" "rval" 
op "imod" "INT" "%" "ival" 
op "ieq" "INT" "==" "ival" 
rop "req" "=="
sop "seq" "=="
op "ineq" "INT" "!=" "ival" 
rop "rneq" "!="
sop "sneq" "!="
op "ileq" "INT" "<=" "ival" 
rop "rleq" "<="
sop "sleq" "<="
op "ilt" "INT" "<" "ival" 
rop "rlt" "<"
sop "slt" "<"
op "igeq" "INT" ">=" "ival" 
rop "rgeq" ">="
sop "sgeq" ">="
op "igt" "INT" ">" "ival" 
rop "rgt" ">"
sop "sgt" ">"
op "or" "INT" "||" "ival" 
op "and" "INT" "&&" "ival" 
