Source

Branch

1/ @bztree

@Jonathan_Blow @rflaherty71

Could you keep the tables in userspace, but mark them with a compiler directive saying “use this table for codegen”? The compiler would then parse it out in earlier phases for use in the backend. This would let people write custom assemblers while avoiding duplicating the table.