https://github.com/zeromus/C-Compiler
The instructions are foggy because it's the easiest possible software to build, not requiring any instructions nor even any work--except on windows.
Building some kinds of software is extremely difficult in visual studio. You need to search for general advice on how to build unix software in windows, and give up the dream of using visual studio.
But since I build unix software in windows for relaxation, here's how I did it.
run the x86 installer from here https://www.cygwin.com/
search for and include:
gcc-g++ flex bison make (all in the devel category)
run the installed cygwin.bat; run these commands
cd c:/path/to/c-compiler
make
congratulations, you now have parse.c, parse.h, and scan.c. Moreover you have main.exe--if all you want to do is run the program, you're done.
The final step is to STOP! Don't try to use visual studio.
If you insist on hacking on it in visual studio 2015, then you're in big trouble. This requires high level skills. You're essentially asking how to tow a boat with a motorcycle. It requires rebuilding your motorcycle into a truck. I'll write down the steps so you can see how much trouble you're in.
Make a new win32 console application, check Empty project, uncheck SDL checks, drag in all the .c and .h files.
Now, rightclick the project in solution explorer, do properties, change
configuration to go to debug, go to c/c++, preprocessor, and add
_CRT_SECURE_NO_WARNINGS;_CRT_INSECURE_NO_DEPRECATE
to Preprocessor Definitions.
Now, rightclick the project in solution explorer, do properties, change configuration to go to debug, go to c/c++, general,and add . (just a dot) to additional include directories
go here Is there a replacement for unistd.h for Windows (Visual C)? and get the contents of unistd.h. Create it next to the vcxproj visual studio's created.
go here http://www.codeproject.com/Articles/157001/Full-getopt-Port-for-Unicode-and-Multibyte-Microso to get getopt sources. Yes, you have to login. Codeproject is a pile of suck.
Dearchive it alongside your vcxproj. Drag the .h and .c into your project.
Remove tm.c from your project.
Now use visual studio to build it.
congratulations, you now have the compiler.
REPEAT IT ALL AGAIN WITH OTHER DIRECTORIES; but remove main.c at the end.
congratulations, you now have the machine.
There's better ways to do all this, but they're even more complicated.