English 中文(简体)
有Clojure DSL吗?
原标题:Are there any Clojure DSLs?
  • 时间:2010-10-19 11:59:37
  •  标签:
  • clojure
  • dsl

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幻灯片





相关问题
Treetop: How to make combined rule?

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 ...

Language neutral custom tool

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 ...

How should I construct a finance DSL?

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 ...

How do I build a domain-specific query language?

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 ...

Stop and continue while evaluation an expression tree

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 ...

Language to create flowcharts [closed]

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 ...

热门标签