Where to start, if I want to understand how compilers and programming languages ​​are composed

Possible duplicate:
Compiler Writing

I know this is a broad question to ask, but where can I start to learn how compilers work, how programming languages ​​are created, I do not mean how you use Java or Ruby, but how people actually create them . I will not try to reproduce these languages ​​in any way, but I want to understand the concepts and theory behind it. So I need either some directions regarding what I should look for, or even better and more focused on the recommendations of the book.

Hi,

Jonathan Nash.

+6
source share
4 answers

You can take a look at the Dragon Book :

+3
source

You can find the Build Compiler by Jack Crenshaw - an interesting introduction.

He was very simple and focused on creating real functionality.

+3
source
+2
source

I really liked the "Language Implementation Patterns" and learned a bunch. I wish I read it before trying to implement DSL a few years ago.

+1
source

Source: https://habr.com/ru/post/890623/


All Articles