← Back to context

Comment by blibble

3 hours ago

indeed

building a working C compiler from scratch is literally in my "teach yourself C in 24 hours" book from 30 years ago

Which book was that? Sounds excellent.

Might have been Compiler Design in C from 1990. Looks like that's available for free now: https://holub.com/compiler/

  • it's not that one, but it's in my parents house

    you'll forgive me if I don't ring them in the early hours of the morning...

    remember C was specifically designed to be easy to compile

    (hence anachronisms like forward declarations)