+ 2

How to make a compiler give me ideas

I want to learn how to make compiler.

16th Oct 2017, 6:14 PM
Atik
Atik - avatar
1 Answer
+ 3
Personally, I suggest getting free compiler source code and read it. I learned a lot reading a Pascal compiler source so I could write my own for a different language. It is a relatively simple language so reading it wasn't very hard. Here is a link to a newer one: https://homepages.cwi.nl/~steven/pascal/pcom.p
16th Oct 2017, 10:33 PM
John Wells
John Wells - avatar