Have you ever written a compiler?
I'm finishing up my final project for the course Compiler Design, and I thought it would be nice to know how many of you tried writting compilers, and what did you use to write it.
What I did in the project is that I wrote a compiler for a "toy" language called C- (C minus), which is simmilar to C but simpler.
I wrote the scanner myself, I used YACC to make the parser (LR(1)) and wrote the semantics and code generation myself.
If you have ever done a similar thing I would like to know how did you do it. If you didn't I really encourage you to read about compiler construction, it's a very interesting topic.
BTW: The text book that we have is Compiler Construction Principles and Practice by Kenneth C. Louden