Programming Language Concepts,2nd Edition


Programming Language Concepts (Undergraduate Topics in Computer Science)
by Peter Sestoft
pages 页数: 360 pages
Publisher Finelybook 出版社: ; 2nd ed. 2017 edition (4 Oct. 2017)
Language 语言: English
ISBN-10 书号: 331960788X
ISBN-13 书号: 9783319607887


Book Description
This book uses a functional programming language (F#) as a metalanguage to present all concepts and examples,and thus has an operational flavour,enabling practical experiments and exercises. It includes basic concepts such as abstract syntax,interpretation,stack machines,compilation,type checking,garbage collection,and real machine code. Also included are more advanced topics on polymorphic types,type inference using unification,co- and contravariant types,continuations,and backwards code generation with on-the-fly peephole optimization.
This second edition includes two new chapters. One describes compilation and type checking of a full functional language,tying together the previous chapters. The other describes how to compile a C subset to real (x86) hardware,as a smooth extension of the previously presented compilers.The examples present several interpreters and compilers for toy languages,including compilers for a small but usable subset of C,abstract machines,a garbage collector,and ML-style polymorphic type inference. Each chapter has exercises.
Programming Language Concepts covers practical construction of lexers and parsers,but not regular expressions,automata and grammars,which are well covered already. It discusses the design and technology of Java and C# to strengthen students’ understanding of these widely used languages.
Contents
Chapter 1 Introduction
Chapter 2 Interpreters And Compilers
Chapter 3 From Concrete Syntax To Abstract Syntax
Chapter 4 A First-Order Functional Language
Chapter 5 Higher-Order Functions
Chapter 6 Polymorphic Types
Chapter 7 Imperative Languages
Chapter 8 Compiling Micro-C
Chapter 9 Real-World Abstract Machines
Chapter 10 Garbage Collection
Chapter 11 Continuations
Chapter 12 A Locally Optimizing Compiler
Chapter 13 Compiling Micro-Sml
Chapter 14 Real Machine Code
Appendix A Crash Course in F#

打赏
未经允许不得转载:finelybook » Programming Language Concepts,2nd Edition

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏