Comment by blibble
15 days ago
writing a C compiler is a 1st year undergrad project
C was explicitly designed to make it simple to write a compiler
15 days ago
writing a C compiler is a 1st year undergrad project
C was explicitly designed to make it simple to write a compiler
Which university offers compiler for freshmen? Can you provide a link to the course?
These are toy compilers missing many edge cases. You’ll be lucky if they support anything other than integer types, nevermind complex pointer-to-pointer-to-struct-with-pointers type definitions. They certainly won’t support GNU extensions. They won’t compile any serious open source project, nevermind the Linux kernel.
Third or fourth, maybe, not first.