pub fn macro_codegen(
    buf: &[u8],
    mod_ident: TokenStream
) -> Result<TokenStream, String>