面向语言的编程文章/论文/教程
市场上有很多像 MPS 这样的工具,可以促进面向语言的编程,据称它使程序员能够为任务设计一种(理想的?)语言。由于某种原因,这听起来既有趣又无聊,所以我想知道是否有人知道并可以推荐有关该主题的文章。
谢谢
There is number of tools on the market like MPS, that promote Language Oriented Programming, which supposedly gives ability to programmer to design a (ideal?)language for task. This sounds interesting and boring at same time for some reason, so I was wondering if anyone know and can recommend articles regarding subject.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
除了面向语言的编程之外,您还可以搜索语言工作台和领域特定语言 (DSL)。
对于 DSL,Martin Fowler 的最新著作(“Domain Specific Languages”)值得一读。
关于面向语言的编程,请查看 Philipp W. Kutter 的论文,"Montages -计算机语言工程” (ftp)。也检查 Cedallion 项目。
JetBrains(MPS 的创建者)有一篇关于该主题的好文章:http:// /www.onboard.jetbrains.com/articles/04/10/lop/
Besides Language Oriented Programming, you can also search for Language Workbenches and Domain Specific Languages (DSLs).
For DSL's, Martin Fowler's latest book ("Domain Specific Languages") is the one to read.
On Language Oriented Programming, check Philipp W. Kutter's dissertation, "Montages - Engineering of Computer Languages" (ftp). Check the Cedallion project too.
JetBrains' (creators of MPS) have a good article on the subject: http://www.onboard.jetbrains.com/articles/04/10/lop/
“面向语言的编程”只是一个相当古老且众所周知的概念的新术语。许多 Lisp 教科书都详细介绍了它。我建议阅读“实用 Common Lisp”,其中充满了使用这种方法的示例。 Haskell 社区也发表了大量相关论文,例如这个示例。
"Language oriented programming" is just a new term for quite an old and well-known concept. It is covered in detail in many Lisp textbooks. I'd recommend reading "Practical Common Lisp", it is full of examples of using this approach. There is a huge volume of relevant papers produced by the Haskell community as well, like in this example.
术语“领域特定语言”(及其前身“领域分析”)可以追溯到 James Neighbors 在
有关此想法的商业版本,请参阅域特定语言中的讨论,了解如何Draco 的想法已融入我们的 DMS 软件重组工具包中。
The term "domain specific language" (and its precursor, "domain analysis") goes back to the work by James Neighbors on the Draco system.
For a commercial version of this idea, see the discussion at Domain Specific Languages on how the Draco ideas have been built into our DMS Software Reengineering Toolkit.