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: Project Oberon - The Design of an Operating System and CompilerProject Oberon - The Design of an Operating System and Compiler
by
Here are the results of Project Oberon, which goal was to design an entire system from scratch. It gives advice on how a system might be built, and demonstrates how one was built. Program listings alone contain the ultimate explanations.
(18216 views)
Book cover: Compiler Design in CCompiler Design in C
by - Prentice-Hall
The approach is similar to that taken by Tanenbaum for operating systems in the C-language that implements all algorithms. The book presents the subject of Compiler Design in a way that's understandable to a programmer, rather than a mathematician.
(9388 views)
Book cover: The Power PC Compiler Writer's GuideThe Power PC Compiler Writer's Guide
by - Warthman Associates
This book describes the code patterns that perform well on PowerPC processors. The book will be particularly helpful to compiler developers and application-code specialists who are already familiar with optimizing compiler technology.
(20683 views)
Book cover: Compiler Construction using Flex and BisonCompiler Construction using Flex and Bison
by - Walla Walla College
Guide to compiler construction using tools like Flex and Bison. Using these tools, you can focus on the concept of compiler without the hassle of building a compiler from scratch. You are required to be fluent in C programming.
(13085 views)