compiler: move annotation processing (back) into the processor, provide a Parser.register hook for generator-specific annotations