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: 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.
(12367 views)
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.
(18307 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 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.
(13156 views)