计算机科学 > 程序设计语言
[提交于 2011年6月14日]
标题:Extensible Pattern Matching in an Extensible Language
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Pattern matching is a widely used technique in functional languages, especially those in the ML and Haskell traditions, where it is at the core of the semantics. In languages in the Lisp tradition, in contrast, pattern matching it typically provided by libraries built with macros. We present match, a sophisticated pattern matcher for Racket, implemented as language extension. using macros. The system supports novel and widely-useful pattern-matching forms, and is itself extensible. The extensibility of match is implemented via a general technique for creating extensible language extensions.
提交历史
来自:Sam Tobin-Hochstadt[v1] 2011年6月14日 星期二 00:06:58 UTC