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: 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: Let's Build a Scripting Engine-CompilerLet's Build a Scripting Engine-Compiler
by
This is a very hands-on approach to crafting a compiler and it does not follow any pre-defined set of rules. It is the author's intent to take some of the mystery out of what goes into making a working scripting engine - compiler.
(9999 views)
Book cover: An Introduction to CompilersAn Introduction to Compilers
by - Vrije Universiteit Brussel
Contents: Introduction; Lexical analysis; Parsing; Checking static semantics; Intermediate code generation; Optimization of intermediate code; Code generation; Introduction to x86 Assembler Programming under Linux; Mc: the Micro-x86 Compiler; etc.
(12294 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.
(13086 views)