mtdvio / every-programmer-should-know

A collection of (mostly) technical things every software developer should know about
Creative Commons Attribution 4.0 International
83.29k stars 7.78k forks source link

Making your own compiler #129

Open Gonzalo933 opened 6 years ago

Gonzalo933 commented 6 years ago

I think that will be a nice topic to add to the list. Making your own compiler really helps you understanding how they work.

ABestteti commented 6 years ago

Here is a good starting point: Compilers, Principles, Techniques and Tools written by Alfred V. Aho, Ravi Sethi and Jeffrey D. Ullman.

greyscaled commented 6 years ago

At my university, it's a required class for CS students and optional for students taking engineering/software related programs.

Great topic, very well studied and useful - definitely worth adding to the list

OlaStar11 commented 5 years ago

I seriously want to learn that

Gonzalo933 commented 5 years ago

At my university, it's a required class for CS students and optional for students taking engineering/software related programs.

Great topic, very well studied and useful - definitely worth adding to the list

It is in mine too, I remember we used Bison and things like that, but I already forgot almost everything

wj24928 commented 3 years ago

There is also a book called crafting interpreter's which is good to start. You can get it for free or read online.