This is where DSL plays a large role.
这就是DSL发挥更大作用的地方。
The next slice of code handles the DSL.
下一个代码片段将处理DSL。
Now, the DSL is completely supported.
现在,DSL得到了完全支持。
Well, let's try to implement an Embedded DSL.
不妨让我们来实现一个嵌入式的DSL。
Chart shows relationships among DSL concepts.
显示DSL概念之间的关系。
Consider the recipe DSL I have created thus far.
考虑到迄今为止我所创建的配方DSL。
UML-based domain-specific language (DSL) support
基于 UML特定领域语言(DSL)支持
A DSL should support software implementation.
DSL应该支持软件实现。
Figure 4 depicts a conceptual architecture of DSL.
图4描述了DSL的概念体系架构。
The DSL version support SSL, tabs, and frames.
DSL版本可以支持SSL、标签页和框架。
Obviously, a DSL is not required in every case.
显然,并非每种情况下都需要DSL。
Also consider the scope of your DSL in the beginning.
此外,在一开始时就要考虑你DSL的范围。
Why did you choose this picture for your DSL book?
为什么会选择这幅照片作为本书的封面呢?
Readability is one of the benefits of using a DSL.
可读性是使用DSL的优势之一。
Now it's time to add the class methods that form the DSL.
现在让我们添加形成DSL的类方法。
Offers a DSL for UI definition, actions, and testing.
为UI定义、动作和测试提供一门dsl。
This issue pops up surprisingly often in DSL implementations.
令人惊讶地是,这个问题在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类型的对象的常见实现。
What are the most important design issues to be addressed by DSL?
DSL要解决的最重要设计问题是什么?
Several design considerations need addressing when planning a DSL.
在规划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所需的一些步骤。
For example, to create a recipe DSL, you need a way to capture quantities.
例如,要创建配方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。
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实现的这个元素是最关键的设计元素之一。
应用推荐