The control and data flow of a program can be represented using continuations, a concept from denotational semantics that has practical application in real compilers. This book shows how continuation-passing style is used as an intermediate representation on which to perform optimisations and program transformations. Continuations can be used to compile most programming languages. The method is illustrated in a compiler for the programming language Standard ML. However, prior knowledge of ML is not necessary, as the author carefully explains each concept as it arises. This is the first book to show how concepts from the theory of programming languages can be applied to the producton of practical optimising compilers for modern languages like ML. This book will be essential reading for compiler writers in both industry and academe, as well as for students and researchers in programming language theory.
發表於2024-11-22
Compiling with Continuations 2024 pdf epub mobi 電子書 下載
圖書標籤: Compiler 計算機科學 編譯原理 編程 程序設計 compiler CPS 編譯器
Compiling with Continuations 2024 pdf epub mobi 電子書 下載