Understanding Programming Languages

Understanding Programming Languages
PDF
  • eBook:
    Understanding Programming Languages
  • Author:
    Cliff B. Jones
  • Edition:
    1st ed. 2020 edition
  • Categories:
  • Data:
    November 18, 2020
  • ISBN:
    3030592561
  • ISBN-13:
    9783030592561
  • Language:
    English
  • Pages:
    240 pages
  • Format:
    PDF

Book Description
This book is about describing the meaning of programming languages. The author teaches the skill of writing semantic descriptions as an efficient way to understand the features of a language. While a compiler or an interpreter offers a form of formal description of a language, it is not something that can be used as a basis for reasoning about that language nor can it serve as a definition of a programming language itself since this must allow a range of implementations. By writing a formal semantics of a language a designer can yield a far shorter description and tease out, analyse and record design choices. 

Early in the book the author introduces a simple notation, a meta-language, used to record descriptions of the semantics of languages. In a practical approach, he considers dozens of issues that arise in current programming languages and the key techniques that must be mastered in order to write the required formal semantic descriptions. The book concludes with a discussion of the eight key challenges: delimiting a language (concrete representation), delimiting the abstract content of a language, recording semantics (deterministic languages), operational semantics (non-determinism), context dependency, modelling sharing, modelling concurrency, and modelling exits. 

The content is class-tested and suitable for final-year undergraduate and postgraduate courses. It is also suitable for any designer who wants to understand languages at a deep level. Most chapters offer projects, some of these quite advanced exercises that ask for complete descriptions of languages, and the book is supported throughout with pointers to further reading and resources. As a prerequisite the reader should know at least one imperative high-level language and have some knowledge of discrete mathematics notation for logic and set theory.

Content

1. Programming languages and their description
2. Delimiting a language
3. Operational semantics
4. Constraining types
5. Block structure
6. Further issues in sequential languages
7. Other semantic approaches
8. Shared-variable concurrency
9. Concurrent OOLs
10. Exceptional ordering

  • 11. Conclusions
  • Download Understanding Programming Languages PDF or ePUB format free


    Free sample

    Download in .PDF format



    Add comments
    Прокомментировать
    Введите код с картинки:*
    Кликните на изображение чтобы обновить код, если он неразборчив
    Copyright © 2019