Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to start if I want to understand how compilers and programming languages are made [duplicate]

Possible Duplicate:
Learning to write a compiler

I know this is a broad question to ask, but where could I start learning how compilers actually work, how programming languages are made, I mean not how you use Java or Ruby but how people actually are making them. I will not try to replicate these languages in any ways but I want to understand the concepts and theory behind it. So what I need is either some directions on what I should search for, or even better and more appriciated are book recommendations.

Regards,

Jonathan Nash.

like image 806
Johnathan Nash Avatar asked Jun 15 '11 17:06

Johnathan Nash


1 Answers

You might find Lets Build a Compiler by by Jack Crenshaw an interesting introduction.

Kept very simple and focussed on building actual functionality.

like image 73
Thorbjørn Ravn Andersen Avatar answered Sep 28 '22 16:09

Thorbjørn Ravn Andersen