Discussion Ask HN: How to learn to write a compiler and interpreter? Greetings,I am in my late 30s without a formal CS education. I write software for a living and have this itch to learn to write a compiler / interpreter.DO I have to take any courses (e.g. Discrete Maths, Automata Theory) in order to do it?Do I have to take any courses? If so, do you have recommendations for those as online courses?I really want to do this in 2019 but the thought that I have to study Maths, then Automata, maybe OS, then Compilers sounds like a long path.Is there who has learned to write compiler / interpreter without CS background? How did you do it? 46 points lala_lala 7 years ago 21 comments
I am in my late 30s without a formal CS education. I write software for a living and have this itch to learn to write a compiler / interpreter.
DO I have to take any courses (e.g. Discrete Maths, Automata Theory) in order to do it?
Do I have to take any courses? If so, do you have recommendations for those as online courses?
I really want to do this in 2019 but the thought that I have to study Maths, then Automata, maybe OS, then Compilers sounds like a long path.
Is there who has learned to write compiler / interpreter without CS background? How did you do it?