This book investigates the design of compilers for procedural languages, based on the algebraic laws which these languages satisfy. The particular strategy adopted is to reduce an arbitrary source program to a general normal form, capable of representing an arbitrary target machine. This is achieved by a series of normal form reduction theorems which are proved algebraically from the more basic laws. The normal form and the related reduction theorems can then be instantiated to design compilers for distinct target machines. This constitutes the main novelty of the author’s approach to compilation, together with the fact that the entire process is formalised within a single and uniform semantic framework of a procedural language and its algberaic laws. Furthermore, by mechanising the approach using the OBJ3 term rewriting system it is shown that a prototype compiler is developed as a byproduct of its own proof of correctness.
Augusto Sampaio
ALGEBRAIC APPROACH TO COMPILER… (V4) [PDF ebook]
ALGEBRAIC APPROACH TO COMPILER… (V4) [PDF ebook]
Compre este e-book e ganhe mais 1 GRÁTIS!
Língua Inglês ● Formato PDF ● Páginas 204 ● ISBN 9789812830685 ● Tamanho do arquivo 24.6 MB ● Editora World Scientific Publishing Company ● Cidade Singapore ● País SG ● Publicado 1997 ● Carregável 24 meses ● Moeda EUR ● ID 2447558 ● Proteção contra cópia Adobe DRM
Requer um leitor de ebook capaz de DRM