Logo

Write You a Haskell: Building a modern functional compiler from first principles

Small book cover: Write You a Haskell: Building a modern functional compiler from first principles

Write You a Haskell: Building a modern functional compiler from first principles
by

Publisher: StephenDiehl.com
Number of pages: 246

Description:
We will build a small functional language called Fun which is a partial Haskell 2010 toy language; complete with a parser, type inference, datatypes, pattern matching, desugaring, typeclasses, higher-kinded types, monadic IO, arbitrary-rank polymorphism, records, Core language, STG intermediate language, lazy evaluation, interpreter, native code generator, a runtime, and several optimization passes.

Home page url

Download or read it online for free here:
Read online
(online html)

Similar books

Book cover: Compiler ConstructionCompiler Construction
by - Springer
Our intent is to provide the reader with a firm theoretical basis for compiler construction and sound engineering principles for selecting alternate methods, imple­menting them, and integrating them into a reliable, economically viable product.
(8484 views)
Book cover: Understanding and Writing CompilersUnderstanding and Writing Compilers
by - Middlesex University
This book attempts to explain and demystify the principles of compiler writing so that you can go out and build a working compiler of your own. There is enough detail in this book for you to build a compiler for quite a complicated language.
(12932 views)
Book cover: Compiler ConstructionCompiler Construction
- Wikibooks
The purpose of this book is to provide practical advice on writing a compiler, together with some examples of both compilers and interpreters, in order to break away from the concept that building compilers and interpreters are impossible tasks.
(9855 views)
Book cover: Compiler ConstructionCompiler Construction
by - Addison-Wesley Pub
This book has emerged from the author's lecture notes for an introductory course in compiler design at ETH Zürich. This book will try to explain why this subject is considered as important and relevant to computer science students in general.
(18589 views)