 The compiler was designed so that only a few of its source files were machine-dependent.It was relatively robust to syntax errors and performed more thorough validity checks than its contemporaries.The first C compiler, written by Dennis Ritchie, used a recursive descent parser, incorporated specific knowledge about the PDP-11, and relied on an optional machine-specific optimizer to improve the assembly language code it generated.