Hacker News new | ask | show | jobs
by aliceryhl 2559 days ago
I mean, it seems like it was an university course, and writing a compiler from scratch is probably a decent exercise in a compiler course.
1 comments

Restrict the students from using a parser library. I get that. But allowing nothing except that standard library? That’s stupid.

It also makes the language comparison useless. Python has a standard library that is continuously improved and people reach to that when writing programs. Haskell, like C, ossified it’s standard library when it was created and people use the external packages for equivalent up to date libraries.

Parsers are not the interesting parts of compilers.