implement binary and conditional operators of literals