Clojure中是否实现了DSL(领域特定语言)?
I want to make a simple JSP parser by using Treetop. Now, I have the following problem: My basic grammar for starting is: grammar Jspgrammar rule jspToken <% end rule ...
Clojure中是否实现了DSL(领域特定语言)?
像任何Lisp方言一样,Clojure在API和DSL之间划出了一条非常模糊的界线,因此这个术语并不像其他语言那样神秘。Lisp程序员倾向于将他们的程序编写为DSL层,每一层都为上面的层服务。话虽如此,以下是一些可以说显示非平凡级别DSL的程序(没有特定顺序):
Clojure中的SQL DSL,有点旧,但可能是一个展示
Enlive,克里斯托弗·格兰德:http://blip.tv/clojure/christophe-grand-not-dsl-macros-4540700(幻灯片为此处)。
我还将计算Ring与DSL设计领域一样。请参阅Ring创始人Mark McGranghan的演讲:http://clojure.blip.tv/clojure/mark-mcgranaghan-one-ring-to-bind-them-4724955(幻灯片)
I want to make a simple JSP parser by using Treetop. Now, I have the following problem: My basic grammar for starting is: grammar Jspgrammar rule jspToken <% end rule ...
I m working on a DSL tool, and for this tool, there exists a custom code generation tool that creates output files. Currently, this tool is registered with C# using a RegistrationAttribute on the ...
Info: C# , VS2010 Beta 2 , DSL ToolKit Beta 2 I am trying to create the following generated XML in my DSL Diagram when used <Method> ... <FilterDescriptors> <...
Me and my friend are in the first stages of creating a domain-specific language designed for game programming, for his thesis paper. The language will be fairly low-level, it will have a C-like ...
I ve decided to build a database tracking the credit card offers I get in the mail, and one confounding factor has been how to represent the offers. With minimum finance charges and variable rates and ...
I have a biology database that I would like to query. There is also a given terminology bank I have access to that has formalizable predicates. I would like to build a query language for this DB using ...
At the office, we ve applied simple Domain Specific Languages (DSLs) to several problem domains we encountered. Basically, we parse (lex/yacc) the custom script into an expression tree. Every node ...
This seems like something which must have been answered before, but I can t find anything appropriate in the question archives. Basically, I m looking for a little Domain Specific Language to create ...