Just saving the current state. I think the design went wrong. Need to reboot the whole thing, maybe.
Yet another intermediate commit. This time most of the pieces for the pattern matching are in place. The XML reader is still not updated.
Serialization of the updated IR with the new type system is working for smaller examples.