Smallc is both a subset of the c programming language, suitable for resource limited. This second edition of the c programming language describes c as defined by the ansi standard. Although we have noted the places where the language has evolved, we have chosen to write exclusively in the new form. It contains both a theoretical study of compilation techniques, together with many practical examples, written in the c language, and contains a complete compiler for a small language, together with a machine simulator also written in c, that can be used to execute. Hendrix 1990 prenticehall international, 1990 08147248, 97808147242 a small c compiler file download nihi. A selfstudy course for the c language, a small c compiler is the ideal tool for. Along the way we will also touch on how programming languages.
Small c is both a subset of the c programming language, suitable for resourcelimited microcomputers and embedded systems, and an implementation of that subset. Originally valuable as an early compiler for microcomputer systems available during the late s and early s, the implementation has also been useful as an example simple enough for. Can anyone recommend good resources on writing a compiler from. Many books teach the reader to write tricky code in order to gain small savings in program efficiency.
40 653 82 502 66 750 885 200 275 251 235 1212 1429 600 857 1096 660 1327 1545 1432 1158 1476 300 740 20 36 815 1283 1192 186 585 1152 383 1200 192 123 1135 1398 1083