Knowledge for writing a compiler for Win32
Posted
by saf
on Stack Overflow
See other posts from Stack Overflow
or by saf
Published on 2010-04-12T16:51:56Z
Indexed on
2010/04/13
2:23 UTC
Read the original article
Hit count: 318
compiler
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?
© Stack Overflow or respective owner