Haskell编译器如何工作? [英] How does a Haskell compiler work?

查看:99
本文介绍了Haskell编译器如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以得到一些纸张/ doc /什么描述一个Haskell编译器如何工作?我读了很多的GHC的文档,但头痛后停止。所以,不需要博士学习理解它,而不是写在你应该是已经熟悉它的风格的东西,将是更可取的。这不是一个问题,如果它是真的很长,需要一些时间来理解它。

Where can I get some paper/doc/whatever which describes how a Haskell compiler actually works? I read quite a few of the docs of GHC, but stopped after getting a headache. So, something which doesn't require a PhD to understand it and isn't written in the You're-supposed-to-be-already-familiar-with-it style would be preferable. It's not a problem if it's really long and takes some time to understand it though.

PS:最有趣的是GHC,但任何东西都可以。 >

PS: Most interesting would be something about GHC, but anything is ok.

推荐答案

你可以从马嘴里得到答案! Simon Peyton Jones(GHC向导)写了一本书,解释如何实现函数式编程语言。它可以免费在线,因为它现在已打印: http:/ /research.microsoft.com/en-us/um/people/simonpj/papers/pj-lester-book/

You can get an answer from the horse's mouth! Simon Peyton Jones (GHC wizard) wrote a book explaining how to implement functional programming languages. It's available for free online since it's now out of print: http://research.microsoft.com/en-us/um/people/simonpj/papers/pj-lester-book/

当然,GHC已移动自从书写以来,但它仍然非常相关。

Of course, GHC has moved on since the book was written, but it's still very relevant.

这篇关于Haskell编译器如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆