Re:Why Take a Compiler Course?
by markus_zhang on Saturday March 25, 2023 @04:24PM
(#35306911)
I agree with you that parsing, for most people, or even most software engineering people, are much more useful then the other stages. Code generation is also interesting and could be useful too but that's pretty much the two of them. All the "interesting" stuffs people spoke about (e.g. optimization) actually has very few use cases unless you are working on it directly.
1. I had a whopping three weeks to prepare this course from scratch (welcome to Uni teaching) and it was what I could scrape together in that time.
2. Parsing is highly useful, and I felt my students could benefit from it.
3. It was what I did in undergrad.
4. It was not too difficult to accomplish, and a project like this can easily get out of hand for a semester project.