领域特定语言

维基百科,自由的百科全书
跳到导航 跳到搜索

领域特定语言(英語:domain-specific languageDSL)指的是专注于某个应用程序领域的计算机语言。又译作领域专用语言

用途[编辑]

概览[编辑]

不同于普通的跨领域通用计算机语言(GPL),领域特定语言只用在某些特定的领域。 比如用来显示网页的HTML,以及Emacs所使用的Emac LISP语言。

In design and implementation[编辑]

Programming tools[编辑]

领域特定语言相关[编辑]

External and Embedded Domain Specific Languages[编辑]

Usage patterns[编辑]

Design goals[编辑]

Idioms[编辑]

例子[编辑]

SQL,Gradle,Regular Expressions

GameMaker Language[编辑]

Unix shell scripts[编辑]

ColdFusion Markup Language[编辑]

Erlang OTP[编辑]

FilterMeister[编辑]

MediaWiki templates[编辑]

Software engineering uses[编辑]

Metacompilers[编辑]

Unreal Engine before version 4 and other games[编辑]

优缺点[编辑]

Tools for designing domain-specific languages[编辑]

参见[编辑]

参考文献[编辑]


更多阅读[编辑]

  • Dunlavey, "Building Better Applications: a Theory of Efficient Software Development" International Thomson Publishing ISBN 0-442-01740-5, 1994.
  • Constance Heitmeyer. Using the SCR Tool-set to Specify Software Requirements. Proceedings, Second IEEE Workshop on Industrial Strength Formal Specification Techniques, Boca Raton, FL, Oct. 19, 1998.
  • Marjan Mernik, Jan Heering, and Anthony M. Sloane. When and how to develop domain-specific languages. ACM Computing Surveys, 37(4):316–344, 2005. doi:10.1145/1118890.1118892
  • Diomidis Spinellis. Notable design patterns for domain specific languages. Journal of Systems and Software, 56(1):91–99, February 2001. doi:10.1016/S0164-1212(00)00089-3
  • Terence Parr. The Definitive ANTLR Reference: Building Domain-Specific Languages. ISBN 978-0-9787392-5-6
  • James Larus. Spending Moore's Dividend. ISSN 0001-0782. Communications of the ACM. Volume 52, Issue 5 (May 2009).
  • Werner Schuster. What's a Ruby DSL and what isn't?. C4Media. June 15, 2007 [2009-09-08]. 
  • Martin Fowler. Domain Specific Languages. ISBN 978-0-321-71294-3
  • Marco Brambilla, Jordi Cabot, Manuel Wimmer, Model Driven Software Engineering in Practice, foreword by Richard Soley (OMG Chairman), Morgan & Claypool, USA, 2012, Synthesis Lectures on Software Engineering #1. 182 pages. ISBN paperback: 9781608458820, ISBN 9781608458837. http://www.mdse-book.com



外部链接[编辑]

Articles













Template:Programming language