allow negation on constant; support stdin