changed "pos"/"neg" checks to a boolean parser
reduced four cases in clause parsing to one, using new literal parser
changed the way variable declarations are handled; no longer pasers
extra ")"s at the end separately.