The conversation between human and AI assistant.
How do I write a compiler?
And then?
From there, you'll need to write code to generate the target output - typically machine code, but it could also be bytecode, LLVM IR, or something else, depending on your target platform.