Write You a Haskell: Building a modern functional compiler from first principles
by Stephen Diehl
Publisher: StephenDiehl.com 2015
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.
Download or read it online for free here:
Read online
(online html)
Similar books
The Power PC Compiler Writer's Guide
by Steve Hoxey, at al. - 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)
by Steve Hoxey, at al. - 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)
Let's Build a Scripting Engine-Compiler
by S. Arbayo
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)
by S. Arbayo
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)
An Introduction to Compilers
by Dirk Vermeir - 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)
by Dirk Vermeir - 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)
Compiler Construction using Flex and Bison
by Anthony A. Aaby - 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)
by Anthony A. Aaby - 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)