New core AST for patterns and a view compiler for it. Untested