Knowledge for writing a compiler for Win32
- by saf
I have created an interpreter for my programming language (educational) and now I'd like to go one step further and create a compiler for it. I know that this is pretty hard work.
What I already know is:
I need to translate my input language to assembler
A lot, isn't it? Now what I don't know is:
What assembler do I need to create Win32 PE executables like, for example, Visual Studio does?
What about file headers?
I'd prefer not to use MASM but it seems like I'll have to.
How to combine the assembler with my compiler?