领域特定语言 - Wikiwand
For faster navigation, this Iframe is preloading the Wikiwand page for 领域特定语言.

领域特定语言

维基百科,自由的百科全书

此条目可参照英语维基百科相应条目来扩充。 (2019年9月4日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记((Translated page))标签。

领域特定语言(英语: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

参见

  • Language workbench
  • Architecture description language
  • Domain-specific entertainment language
  • Language for specific purposes
  • Metalinguistic abstraction
  • Programming domain

参考文献

此条目有列出参考来源,但因文内引注不足,部分字句的来源仍不明确。 (2019年9月4日)请通过加入合适的文内引注来改善这篇条目。


更多阅读

  • 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

{{bottomLinkPreText}} {{bottomLinkText}}
领域特定语言
Listen to this article