DSL
2014-05-20 19:41
127 查看
http://en.wikipedia.org/wiki/Domain-specific_language
今天搜索DSL时,发现居然还蛮有学问的。
A domain-specific language (DSL) is a computer language specialized to a particular application domain. This is in contrast to a general-purpose language
(GPL), which is broadly applicable across domains, and lacks
specialized features for a particular domain. There are a wide variety
of DSLs, ranging from widely used languages for common domains, such as HTML
for web pages, down to languages used by only a single piece of
software. DSLs can be further subdivided by the kind of language, and
include domain-specific markup languages, domain-specific modeling languages (more generally, specification languages), and domain-specific programming languages.
Special-purpose computer languages have always existed in the computer
age, but the term "domain-specific language" has become more popular due
to the rise of domain-specific modeling. Simpler DSLs, particularly ones used by a single application, are sometimes informally called mini-languages.
The line between general-purpose languages and domain-specific
languages is not always sharp, as a language may have specialized
features for a particular domain but be applicable more broadly, or
conversely may in principle be capable of broad application but in
practice used primarily for a specific domain. For example, Perl
was originally developed as a text-processing and glue language, for
the same domain as AWK and shell scripts, but has since become a
general-purpose programming language. By contrast, PostScript is a Turing complete language, and in principle can be used for any task, but in practice is narrowly used as a page description language.
今天搜索DSL时,发现居然还蛮有学问的。
A domain-specific language (DSL) is a computer language specialized to a particular application domain. This is in contrast to a general-purpose language
(GPL), which is broadly applicable across domains, and lacks
specialized features for a particular domain. There are a wide variety
of DSLs, ranging from widely used languages for common domains, such as HTML
for web pages, down to languages used by only a single piece of
software. DSLs can be further subdivided by the kind of language, and
include domain-specific markup languages, domain-specific modeling languages (more generally, specification languages), and domain-specific programming languages.
Special-purpose computer languages have always existed in the computer
age, but the term "domain-specific language" has become more popular due
to the rise of domain-specific modeling. Simpler DSLs, particularly ones used by a single application, are sometimes informally called mini-languages.
The line between general-purpose languages and domain-specific
languages is not always sharp, as a language may have specialized
features for a particular domain but be applicable more broadly, or
conversely may in principle be capable of broad application but in
practice used primarily for a specific domain. For example, Perl
was originally developed as a text-processing and glue language, for
the same domain as AWK and shell scripts, but has since become a
general-purpose programming language. By contrast, PostScript is a Turing complete language, and in principle can be used for any task, but in practice is narrowly used as a page description language.
相关文章推荐
- 界定DSL
- Ruby 用于DSL 开发的相关技术
- 组织机构DSL之二:参考资料(ruby hacking guide )的阅读笔记
- dslmon.exe
- 组织机构DSL之二:参考资料(ruby hacking guide )的阅读笔记
- DSL
- 把DamnSmallLinux(DSL)安装到硬盘(虚拟机)并安装GCC
- Visual Studio DSL 入门 4--- 基本概念
- 编程语言的发展趋势及未来方向(2):声明式编程与DSL
- DSL,日常脚本语言,以及底层功能强大通用的静态语言
- mobl 针对移动Web开发的DSL(2)
- 一起谈.NET技术,Visual Studio DSL 入门 1
- (转)Getting rid of the DSL model explorer
- groovy DSL -- Named Paramerter
- 领域特定语言DSL
- 我使用DSL编写SQL的一个Java实现
- Spring-Context之三:使用XML和Groovy DSL配置Bean
- atitit.表单验证 的dsl 本质跟 easyui ligerui比较
- Gradle DSL method not found: 'runProguard()'
- Android开发~Gradle DSL method not found: 'runProguard()'