I'm writing a C compiler for the fictional DCPU-16 CPU (which will be used in the 0x10C game). In this game world any original software written for the system has been developed before (or during) 1988: so I'm trying to write my compiler like it was coded between 1985-1988. I've got a copy of the C89 standard, but would like to know how common compilers preceding this differed from the standard and the common coding styles of the period.
So far this is what I'm assuming:
Other things I would like to know:
When there's no defined standard, people only care about getting it "work". It's applicable to just about anything, not just C language. So it's hard tell the difference between all pre-standard coding styles/naming conventions etc against the standadized one. I'd think most would have just followed whatever there in K&R books (1st & 2nd).
For samples...
You can look at Dennis Ritchie's site where he has given some examples: Very early C compilers and language. You can search through that site for more relevant information. But I don't think you'd get answers for all your questions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With