Writing a C Compiler, Part 5
You mention that main not having a return statement is undefined behaviour. While this would be true for most functions the main function is actually a special case.If you check section 5.1.2.2.3 - Program termination of the standard doc you linked it says that "reaching the } that terminates the main function returns a value of 0".This is obviously a super minor nitpick though and I enjoyed the post!