A portable compiler
S. C. Johnson · ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages (POPL) · 1978
A compiler for the C language has recently been constructed which is now compiling C for about half a dozen machines. The compiler was influenced in various ways by recent theoretical developments. This paper gives an overview of the compiler structure and algorithms, emphasizing those areas where theory was helpful, and discussing the approaches taken where theory was lacking.
Cited by 120 works. doi:10.1145/512760.512771 Open-access PDF
Authors
References
- The UNIX time-sharing system
- Yacc : Yet Another Compiler Compiler
- The Generation of Optimal Code for Arithmetic Expressions
- Optimal Code Generation for Expression Trees
- Code Generation for Expressions with Common Subexpressions
- A Portable Compiler for the Language C
- Code-generation for machines with multiregister operations
- On programming of arithmetic operations
- Optimal code generation for expression trees
- Code Generation for a One-Register Machine