This can be achieved with DSLs.
这可以通过DSLs来实现。
Eelco sees that the goal of DSLs is to.
在Eelco看来,DSL的目标应该是。
Can the use of DSLs reduce the testing burden?
你认为可以用DSL来减轻测试的负担么?
Scala’s rich, flexible syntax makes writing DSLs a breeze.
Scala 的丰富,灵活的语法使得写DSL轻而易举。
DSLs can be used to specify any aspect of a software system.
DSLs可以用来指定软件系统的各个方面。
On the other hand, DSLs written in generic languages just work.
另一方面,用通用语言编写的DSL即可运行。
DSLs capture idiomatic domain patterns concisely and effectively.
DSLs精确有效地捕捉惯用域模式。
Another reason for preferring Ruby is the ability to create DSLs.
另一个偏爱Ruby的原因是可以创建DSL。
Ruby is currently the most popular language for building internal DSLs.
Ruby是当前用于建立内部DSL最流行的语言。
With DSLs, it's valid to question how many domains should be identified.
使用DSL,提出应该确定多少个领域的问题是恰当的。
This makes it a good starting point for a large number of possible DSLs.
对多数可能的DSL来说这正是一个好的起点。
There are many areas in everyday life where DSLs are applicable or used.
日常生活中存在许多适用或使用DSL的领域。
Some DSLs are business facing while others are more technically focused.
有些领域特定语言面向的是商务用户,而有些则更多为技术人员设计。
Unfortunately, there are instances of badly used DSLs (or anti-patterns).
遗憾的是,存在使用得非常糟糕的DSL 的实例(或反模式)。
Provide metadata and behavior - don't let DSLs become configuration files.
提供元数据和行为——不要让你的DSL变成配置文件。
Starting at the end makes sense because readability is highly valued in DSLs.
从终点开始行得通是因为可读性在DSLs中非常重要。
Ruby on Rails: Rails is a popular web development platform that USES many DSLs.
RubyonRails: Rails是流行的web开发平台,其使用了许多DSL。
One convenient mechanism in languages that commonly host DSLs is method missing.
在诸多语言中一种常用于托管DSL 的方便机制是方法缺失。
This is because there is typically a lot of commonality even between diverse DSLs.
这是因为在不同的DSL之间存在相当多典型的公共部分。
InfoQ: What role does Groovy play in creating the Domain Specific Languages (DSLs)?
InfoQ:Groovy在创建领域特定语言(DSL)方面扮演了什么角色?
External DSLs build a new language grammar, requiring tools like lexx and yacc or Antlr.
外部DSLs可构建一个新语法,构建时需要使用lexx和yacc或Antlr等工具。
Nevertheless, we feel it does already show the potential of using DSLs in the mobile space.
尽管如此,我们觉得它已经显示出在移动领域使用DSL的潜力。
There’s still a lot to be discovered about what constitutes a good language design for DSLs.
关于哪些是构成好的领域特定语言设计的因素,还有待于我们去逐步发掘。
No matter what your particular reason, all DSLs should deliver a clear value to your project.
不管你有什么特殊原因,所有的DSL都可以为你的项目带来清晰的价值。
Using DSLs in order to reduce the testing burden requires a thorough testing of the DSL itself.
使用DSL来减轻测试的负担,其前提就是要对DSL本身进行彻底的测试。
Arguments against Embedded DSLs are manifold. Like the idea that they make code harder to read.
对于嵌入式DSL的争论有很多,比如它们降低了代码的可读性,也确实如此。
DSLs are more of a tool to help a deeper and more precise conversation between different roles.
领域特定语言更多的只是一种帮助不同角色之间进行更深入和更精确沟通的工具。
Underlying all the following techniques for constructing DSLs is the notion of implicit context.
强调通过以下所有方法构建 DSLs是隐式上下文的概念所在。
MF: I don't think we have enough experience yet at DSLs being developed in a more widespread way.
MF:我想目前为止我们还没有就在大范围内开发领域特定语言积累足够的经验。
Defining a DSL is valuable because DSLs help to focus on a specific area by setting a very specific scope.
定义DSL是非常有价值的,因为DSL通过设置非常特定的范围来帮助集中于特定的领域。
应用推荐