Earlier quoted context omitted.
Heh, that's an awesome suggestion. Do you have any resources that would be best for this? Probably the Dragon Book?
I found this to be a great introduction on how to write a compiler: http://www.cs.indiana.edu/~aghuloum/compilers-tutorial-2006-... It starts with a compiler for a language that only accepts integers and gradually extends it to support complex expressions, functions, closures, conditionals etc. Since the compiler is written in scheme and the target language has a lispy syntax, it completely skips the parsing step (us…
Hmm, that's interesting. The first example doesn't seem to work. I just get "#". I wonder if it has to do with a difference with gcc.