TY - GEN
T1 - Control flow aspects of semantics directed compiling
AU - Sethi, Ravi
N1 - Publisher Copyright:
© 1982 ACM.
PY - 1982/6/23
Y1 - 1982/6/23
N2 - We focus on the part of a compiler between syntax analysis and code generation. A language is specified by adding semantic rules in a functional notation to die syntax of the language. Starting with a small sublanguage of while statements, the semantics of the statement constructs of C is built up incrementally. Using a small ad hoc code generator, a compiler has automatically been constructed from the semantics. The semantic description is analogous to a syntax directed construction of a flow diagram for a program. In analogy with grammars and parser generators, minimal knowledge of the underlying theory is required. For the control flow aspects of langauges Efficient compilers can quickly be generated.
AB - We focus on the part of a compiler between syntax analysis and code generation. A language is specified by adding semantic rules in a functional notation to die syntax of the language. Starting with a small sublanguage of while statements, the semantics of the statement constructs of C is built up incrementally. Using a small ad hoc code generator, a compiler has automatically been constructed from the semantics. The semantic description is analogous to a syntax directed construction of a flow diagram for a program. In analogy with grammars and parser generators, minimal knowledge of the underlying theory is required. For the control flow aspects of langauges Efficient compilers can quickly be generated.
UR - http://www.scopus.com/inward/record.url?scp=84984073971&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84984073971&partnerID=8YFLogxK
U2 - 10.1145/800230.806999
DO - 10.1145/800230.806999
M3 - Conference contribution
AN - SCOPUS:84984073971
SN - 0897910745
SN - 9780897910743
T3 - Proceedings of the 1982 SIGPLAN Symposium on Compiler Construction, SIGPLAN 1982
SP - 245
EP - 260
BT - Proceedings of the 1982 SIGPLAN Symposium on Compiler Construction, SIGPLAN 1982
PB - Association for Computing Machinery, Inc
T2 - 1982 SIGPLAN Symposium on Compiler Construction, SIGPLAN 1982
Y2 - 23 June 1982 through 25 June 1982
ER -