An Algebraic Approach to Compiler Design

An Algebraic Approach to Compiler Design PDF Author: Augusto Sampaio
Publisher: World Scientific
ISBN: 9789810223915
Category : Computers
Languages : en
Pages : 216

Get Book Here

Book Description
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.

An Algebraic Approach to Compiler Design

An Algebraic Approach to Compiler Design PDF Author: Augusto Sampaio
Publisher: World Scientific
ISBN: 9789810223915
Category : Computers
Languages : en
Pages : 216

Get Book Here

Book Description
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.

Principles of Compilers

Principles of Compilers PDF Author: Yunlin Su
Publisher: Springer Science & Business Media
ISBN: 3642208355
Category : Computers
Languages : en
Pages : 458

Get Book Here

Book Description
"Principles of Compilers: A New Approach to Compilers Including the Algebraic Method" introduces the ideas of the compilation from the natural intelligence of human beings by comparing similarities and differences between the compilations of natural languages and programming languages. The notation is created to list the source language, target languages, and compiler language, vividly illustrating the multilevel procedure of the compilation in the process. The book thoroughly explains the LL(1) and LR(1) parsing methods to help readers to understand the how and why. It not only covers established methods used in the development of compilers, but also introduces an increasingly important alternative — the algebraic formal method. This book is intended for undergraduates, graduates and researchers in computer science. Professor Yunlin Su is Head of the Research Center of Information Technology, Universitas Ma Chung, Indonesia and Department of Computer Science, Jinan University, Guangzhou, China. Dr. Song Y. Yan is a Professor of Computer Science and Mathematics at the Institute for Research in Applicable Computing, University of Bedfordshire, UK and Visiting Professor at the Massachusetts Institute of Technology and Harvard University, USA.

Modular Compiler Verification

Modular Compiler Verification PDF Author: Markus Müller-Olm
Publisher: Lecture Notes in Computer Science
ISBN:
Category : Computers
Languages : en
Pages : 286

Get Book Here

Book Description
This is the first comprehensive book on hypermedia and the World Wide Web that includes features of the second generation systems. Definitions, history, current technology and problems, leading-edge initiatives, future applications, all these are seen as an unfolding of a millenial communication medium that is not only serving but also involving even the non-technical person in a very technical world. Much of the promise of hypermedia lies in its applications to education, and this receives prominence in the book. The new hypermedia system HyperWave is described in detail. The book's vision, organization, and easy-to-read style make it suitable as a source of information for the practitioner and the general reader. It may also serve both as a reference book for researchers and as a textbook.

Correctness of Translations of Programming Languages

Correctness of Translations of Programming Languages PDF Author: Francis Lockwood Morris
Publisher:
ISBN:
Category : Compiling (Electronic computers)
Languages : en
Pages : 270

Get Book Here

Book Description
Programming languages and their sets of meanings can be modelled by general operator algebras; seismic functions and compiling functions by homomorphisms of operator algebras. A restricted class of individual programs, machines, and computations can be modelled in a uniform manner by binary relational algebras. These two applications of algebra to computing are compatible: the semantic function provided by interpreting (running) one binary rational algebra on another is a homomorphism on an operator algebra whose elements are binary relational algebras. Under these mathematical tools, proofs can be provided systematically of the correctness of compilers for fragmentary programming languages, each embodying a single language 'feature'. Exemplary proofs are given for statement sequences, arithmetic expressions, Boolean expressions, assignment statements, and statements. Moreover, proofs of this sort can be combined to provide (synthetic) proofs for, in principle, many different complete programming languages. One example of such a synthesis is given.

Simple Compiler Correctness - a Tutorial on the Algebraic Approach

Simple Compiler Correctness - a Tutorial on the Algebraic Approach PDF Author: University of Tasmania. Department of Information Sciences
Publisher:
ISBN:
Category : Compiling (Electronic computers)
Languages : en
Pages :

Get Book Here

Book Description


Programs and Their Proofs: an Algebraic Approach

Programs and Their Proofs: an Algebraic Approach PDF Author: Rodney M. Burstall
Publisher:
ISBN:
Category :
Languages : en
Pages : 50

Get Book Here

Book Description
Results are presented of some applications of universal algebra and automata theory to programming problems. A method of defining some functions as homomorphisms instead of giving recursive or iterative definitions is explained. As a demonstration of the use of this approach, a proof of the correctness of a simple compiler for expressions is given. The method of description is closely related to the methods of proving theorems about the objects described. The report includes a section on basic algebraic concepts as background for the applications, and a section in which functions commonly encountered in programming are expressed as homomorphisms. (Author).

Algebraic Specification Techniques and Tools for Software Development

Algebraic Specification Techniques and Tools for Software Development PDF Author: Ingo Classen
Publisher: World Scientific
ISBN: 9789810212278
Category : Computers
Languages : en
Pages : 268

Get Book Here

Book Description
The intention of this book is to show how algebraic specification methods can be used for software development to support reliability, modifiability and reusability. These methods are introduced by parameterized and module specifications through practical examples and case studies using algebraic specification languages and tools developed at TU Berlin.

Formal Methods and Software Engineering

Formal Methods and Software Engineering PDF Author: Chris George
Publisher: Springer
ISBN: 3540361030
Category : Computers
Languages : en
Pages : 639

Get Book Here

Book Description
This book constitutes the refereed proceedings of the 4th International Conference on Formal Engineering methods, ICFEM 2002, held in Shanghai, China, in October 2002. The 43 revised full papers and 16 revised short papers presented together with 5 invited contributions were carefully reviewed and selected from a total of 108 submissions. The papers are organized in topical sections on component engineering and software architecture, method integration, specification techniques and languages, tools and environments, refinement, applications, validation and verification, UML, and semantics.

A Process Algebraic Approach to Software Architecture Design

A Process Algebraic Approach to Software Architecture Design PDF Author: Alessandro Aldini
Publisher: Springer Science & Business Media
ISBN: 1848002238
Category : Computers
Languages : en
Pages : 316

Get Book Here

Book Description
Inthe?eldofformalmethodsincomputerscience,concurrencytheoryisreceivinga constantlyincreasinginterest.Thisisespeciallytrueforprocessalgebra.Althoughit had been originally conceived as a means for reasoning about the semantics of c- current programs, process algebraic formalisms like CCS, CSP, ACP, ?-calculus, and their extensions (see, e.g., [154,119,112,22,155,181,30]) were soon used also for comprehendingfunctionaland nonfunctionalaspects of the behaviorof com- nicating concurrent systems. The scienti?c impact of process calculi and behavioral equivalences at the base of process algebra is witnessed not only by a very rich literature. It is in fact worth mentioningthe standardizationprocedurethat led to the developmentof the process algebraic language LOTOS [49], as well as the implementation of several modeling and analysis tools based on process algebra, like CWB [70] and CADP [93], some of which have been used in industrial case studies. Furthermore, process calculi and behavioral equivalencesare by now adopted in university-levelcourses to teach the foundations of concurrent programming as well as the model-driven design of concurrent, distributed, and mobile systems. Nevertheless, after 30 years since its introduction, process algebra is rarely adopted in the practice of software development. On the one hand, its technica- ties often obfuscate the way in which systems are modeled. As an example, if a process term comprises numerous occurrences of the parallel composition operator, it is hard to understand the communicationscheme among the varioussubterms. On the other hand, process algebra is perceived as being dif?cult to learn and use by practitioners, as it is not close enough to the way they think of software systems.

Algebraic Methodology and Software Technology

Algebraic Methodology and Software Technology PDF Author: Armando M. Haeberer
Publisher: Springer
ISBN: 3540492534
Category : Computers
Languages : en
Pages : 542

Get Book Here

Book Description
AMAST’s goal is to advance awareness of algebraic and logical methodology as part of the fundamental basis of software technology. Ten years and seven conferences after the start of the AMAST movement, I believe we are attaining this. The movement has propagated throughout the world, assembling many enthusiastic specialists who have participated not only in the conferences, which are now annual, but also in the innumerable other activities that AMAST promotes and supports. We are now facing the Seventh International Conference on Algebraic Methodology and Software Technology (AMAST’98). The previous meetings were held in Iowa City, USA (1989 and 1991), in Enschede, The Netherlands (1993), in Montreal, Canada (1995), in Munich, Germany (1996), and in Sydney, Australia (1997). This time it is Brazil’s turn, in a very special part of this colorful country – Amazonia. Thus, “if we have done more it is by standing on the shoulders of giants.” The effort started by Teodor Rus, Arthur Fleck, and William A. Kirk at AMAST’89 was consolidated in AMAST'91 by Teodor Rus, Maurice Nivat, Charles Rattray, and Giuseppe Scollo. Then came modular construction of the building, wonderfully carried out by Giuseppe Scollo, Vangalur Alagar, Martin Wirsing, and Michael Johnson, as Program Chairs of the AMAST conferences held between 1993 and 1997.