major rewrite of grammar. Organization largely borrowed from ANSI C. Also added more assignment operators