O but wait I have a answer!
See when I run windows I use Dev-C++ as my IDE for C++...
A while back I was looking into making a compiler and IDE that runs on both Windows And Linux so no matter what OS I am running (and I run Linux more) I can have the SAME IDE and COMPILER that I made 😉....
So that was one of my questions... I really did not want to use Flex and Bision because I wanted the experience in making a Scanner and Praser...
So I went to Dev-C++ source code to check out how I could do this (it turns out it is written in Delphi (which I dotn know) and uses Mingw port of GCC... Which most do...
But I found that the Dec-C++ site has tutorials on them... Well I found one on making your own Parser and Scanner (no using Flex or Bision or anything but C/C++)...
Well its 320 pages so I never got "around" to reading it but it is a free book on the internet to download... Now you don't have to read the hole thing but you should be able to get what you want to know with a little bit of scanning!
Heres the book: http://www.cs.vu.nl/~dick/PTAPG.html
And heres Dev-C++ list of stuff: http://www.bloodshed.net/compilers/index.html
I hope I was of help,
Andrew