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可以用来指定软件系统的各个方面。
DSLs capture idiomatic domain patterns concisely and effectively.
DSLs精确有效地捕捉惯用域模式。
With DSLs, it's valid to question how many domains should be identified.
使用DSL,提出应该确定多少个领域的问题是恰当的。
There are many areas in everyday life where DSLs are applicable or used.
日常生活中存在许多适用或使用DSL的领域。
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 的方便机制是方法缺失。
InfoQ: I guess DSLs can address the problem domain but also the solution domain.
InfoQ:我觉得领域特定语言既可以表达问题域也能表达解决方案域。
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的潜力。
Thus far, I've shown two of the three context-passing techniques for fluent-interface DSLs.
目前为止,我展示了连贯接口dsls三种上下文传递方法中的两种。
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都可以为你的项目带来清晰的价值。
Many Grails plugins also provide DSLs to interact with the libraries or frameworks they wrap.
很多Grails插件还提供了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:我想目前为止我们还没有就在大范围内开发领域特定语言积累足够的经验。
Eclipse's EMF project is also following the entity-relationship modeling technique to capture DSLs.
Eclipse的EMF项目也正在遵循实体关系建模技术来捕获DSL。
The third category, Language Workbenches, represent custom environments for editing and creating DSLs.
本书中介绍了第三种类型,语言工作台,它代表的是一种可以编辑和创造领域特定语言的可定制环境。
Defining a DSL is valuable because DSLs help to focus on a specific area by setting a very specific scope.
定义DSL是非常有价值的,因为DSL通过设置非常特定的范围来帮助集中于特定的领域。
应用推荐