Experience report: using hackage to inform language design

Experience report: using hackage to inform language design
复制标题

经验报告:使用 hackage 为语言设计提供信息

DOI:
--
复制
发表时间:
2010
期刊:
ACM SIGPLAN Symposium/Workshop on Haskell
影响因子:
--
通讯作者:
J. Garrett Morris
J. Garrett Morris
中科院分区:
--
文献类型:
--
作者:
J. Garrett Morris

文献摘要

被引文献

相似文献

Hackage 是 Haskell 应用程序和库的在线存储库,为程序员提供了一个向更大的 Haskell 社区发布代码和使用来自更大的 Haskell 社区的代码的中心。我们建议 Hackage 也可以作为语言设计者的宝贵资源:通过提供由不同程序员以不同风格编写的大量代码,它使语言设计者不仅可以了解理论上如何使用功能,还可以了解它们在实践中(和不)如何使用。 我们能够在设计新的类似 Haskell 的编程语言的类系统时使用 Hackage。在本文中,我们概述了我们的语言设计问题,以及我们如何使用 Hackage 来帮助解决这个问题。我们详细描述了我们的方法,包括它有效和无效的两种方式,并总结了我们的结果。
Hackage, an online repository of Haskell applications and libraries, provides a hub for programmers to both release code to and use code from the larger Haskell community. We suggest that Hackage can also serve as a valuable resource for language designers: by providing a large collection of code written by different programmers and in different styles, it allows language designers to see not just how features could be used theoretically, but how they are (and are not) used in practice. We were able to make such a use of Hackage during the design of the class system for a new Haskell-like programming language. In this paper, we sketch our language design problem, and how we used Hackage to help answer it. We describe our methodology in some detail, including both ways that it was and was not effective, and summarize our results.