Start of work on converting pattern parse-trees to ASTs.