Skip to content

theunafraid/first_c_compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PDP-11/UNIX C Compiler by Dennis Richie (1972)

The earliest versions of the very first C compiler, known to be written by the Dennis Richie himself.

Directory last1120c is a saved state of the compiler just before the migration from the PDP-11/20, which did not have multiply or divide instructions, but instead a provided a separate, optional unit that did these operations (and also shifts) by storing the operands into memory locations.

The second directory, prestruct-c is a copy of the compiler just before adding structures functionality.

It's not possible to compile it nowadays using any modern C compilers like GCC, however, in theory there's a probability of success compiling it using PDP-11/UNIX emulator.

Source: Very early C compilers and language

PDP-11/UNIX Emulator

About

PDP-11/UNIX C Compiler by Dennis Richie (1972)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors