Well, let's try to implement an Embedded DSL.
不妨让我们来实现一个嵌入式的DSL。
Chart shows relationships among DSL concepts.
显示DSL概念之间的关系。
UML-based domain-specific language (DSL) support
基于 UML特定领域语言(DSL)支持
Figure 4 depicts a conceptual architecture of DSL.
图4描述了DSL的概念体系架构。
The DSL version support SSL, tabs, and frames.
DSL版本可以支持SSL、标签页和框架。
Readability is one of the benefits of using a DSL.
可读性是使用DSL的优势之一。
Figure 6: Populating a DSL with new software builds.
图6:推广DSL与新的软件构建。
The flexibility of the testing DSL provided by ScalaTest.
ScalaTest提供了很灵活的测试DSL。
Offers a DSL for UI definition, actions, and testing.
为UI定义、动作和测试提供一门dsl。
Bi-directional transformation of DSL models to UML models.
dsl模型到uml模型的双向转换。
Bi-directional transformation of AUTOSAR UML and DSL models.
AUTOSARUML和dsl模型的双向转换。
This issue pops up surprisingly often in DSL implementations.
令人惊讶地是,这个问题在DSL实现中经常出现。
For instance, HTML is a DSL for defining structured web pages.
例如,HTML是一种定义结构化web页面的DSL。
Second is its simple DSL-like syntax for defining endpoints.
其次是其简单的用于定义端点的dsl式的语法。
A way to specify my class methods, which are required for the DSL.
指定我的类方法的方式(DSL需要使用类方法)。
Listing 2 depicts a common implementation for DSL-type objects.
清单2描述了dsl类型的对象的常见实现。
A DSL imposes a well-defined set of types of elements and relations.
DSL规定了良好定义的的一组元素类型和关系。
Creating an DSL is challenging, but it does provide many advantages.
创建DSL是很有挑战性的工作,但同时会带来很多好处。
The above code also shows the first few steps towards defining a DSL.
上述代码同样展示了开始定义DSL所需的一些步骤。
This code outputs an XML document with the structure shown in the DSL.
通过dsl所示的结构,此代码输出一个XML文档。
Figure 1 illustrates how the DSL supports this high degree of traceability.
图1显示了支持这种高层次追踪性的DSL。
RJP: Another consideration is an editor for scripts written in the DSL.
RJP:还有一个需要考虑的问题是,用领域特定语言编写程序所需要的编辑器。
The concepts and abstractions of a DSL are related to a particular domain.
DSL中的概念和抽象与特定的领域相关联。
This element of a DSL implementation is on of the most critical design elements.
DSL实现的这个元素是最关键的设计元素之一。
The ability to preview a DSL before printing has been added to the DSL designer.
DSL设计器中已加入了在打印前预览dsl的能力。
But in some cases it's warranted to have an external DSL that can be interacted with.
但是有时候,我们的确应该拥有一个外部的DSL,并可以与之交互。
In other words, patterns influence the architecture, and hence the grammar of the DSL.
换句话说,模式影响着架构,因而影响着DSL的语法。
Documentation is not a DSL, and it is most certainly not understandable in many cases.
文档不是DSL,而且在很多情况下几乎可以肯定文档是难以理解的。
A DSL enables you to abstract the software solution and hide the implementation details.
dsl使您可以对软件解决方案进行抽象,并隐藏实现细节。
This installment continues with that topic, demonstrating various DSL construction techniques.
本期将继续该主题,展示各种DSL构建方法。
应用推荐