FreeComputerBooks.com
Links to Free Computer, Mathematics, Technical Books all over the World
|
|
- Title: Write You a Haskell: Building a Modern Functional Compiler from First Principles
- Author(s) Stephen Diehl
- Publisher: StephenDiehl.com (2015 )
- Hardcover/Paperback: N/A
- eBook: HTML and PDF
- Language: English
- ISBN-10: N/A
- ISBN-13: N/A
- Share This:
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.
This is a nontrivial topic and is unfortunately very much underserved, the knowledge to build such a modern functional language is not widely disseminated among many programmers. The available resources most often discuss language theory in depth while completely glossing over the engineering details. I wished to write a project-based tutorial that included the engineering details and left the reader with a fully functional toy language at the end that could be extended for further projects.
About the Authors- N/A
:
|
|