I just had a terrible idea to write a Rust proc macro that prompts an AI and inserts the resulting code at compile time. It wouldn't be hard. Receive string, send to server, get response, extract Rust from code block (assuming Markdown response), parse to token stream. But it's too evil.
25 days ago