Need to build compiler

  • Thread starter Thread starter J. B. Thomas
  • Start date Start date
J

J. B. Thomas

Hi, I need to create my own compiler for a programming
class. I'm wanting to do this w/ a Microsoft compiler,
i.e. not gnu or some other Linux/Unix mess. Does anyone
know of some good Microsoft references?

Thanks a great deal in advance!
Josh Thomas
 
J. B. Thomas said:
Hi, I need to create my own compiler for a programming
class. I'm wanting to do this w/ a Microsoft compiler,
i.e. not gnu or some other Linux/Unix mess. Does anyone
know of some good Microsoft references?

Apart from code generation and creation of binary/executable
files, a compiler is just about the least platform-specific
kind of application I can imagine. The output of yacc/bison
and lex/flex are very generic C/C++, so if you're using them
for your front end, you shouldn't have any problem compiling
the results with the Microsoft compiler.

So I guess I don't really understand your question. Are you
looking for Windows-specific compiler-writing tools (as
opposed to yacc/bison and lex/flex -- which you can get easily
in a Windows-compatible form, BTW)? Or documentation on the
..obj/.exe formats? Or what?

-- William M. Miller
 
Back
Top