I'm searching for the source code of a compiler capable of creating Win32 programs from an input program in a programming language (It doesn't matter which, maybe the simpler the better)
Yet I can't find anything right for me and huge compilers like GCC make me extremely confused as they have so many features that I don't know where to start.
The Closure Compiler is a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left.
Designed, developed, and open-sourced by Google, J2CL is a source-to-source compiler that converts Java to Javascript. J2CL developers say the compiler "enables seamless use of Java in your JavaScript applications."
http://en.wikipedia.org/wiki/List_of_compilers chose ones with License type "open source"
I would suggest picking up a compilers textbook. They explain all the required components of a compiler and usually develop a compiler from start to finish.
I own a copy of Modern Compiler Implementation in Java from my compilers course and I'm quite pleased with it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With