WyCS: refactoring the parser to support casts.
WyCS: begun the process of tidying up the parser.