成功的特定领域语言?您使用哪一个? [英] Successful Domain-Specific Languages ? Which one do you use?

查看:66
本文介绍了成功的特定领域语言?您使用哪一个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对特定领域语言的设计和实施感兴趣。
我知道的许多DSL都来自学术界。



您能给我一些指向该行业实际使用的DSL的提示吗?并且您每天都使用...非常方便。。



(我对声明性语言也很感兴趣,但实际上不是基于xml的语言...)...



我想建立一个(非详尽的)行业部署语言列表...我知道这是巨大的。



有时候,我正在使用通用语言来实现可以通过DSL轻松完成的事情。



编辑
我主要对应用程序导向的DSL感兴趣,而不是小型嵌入式语言。例如,SQL符合我的需求,但是嵌入Java中的SQL对我不感兴趣。
我正在寻找的另一种语言示例是X#

解决方案

一种如此成功的DSL有自己的SO标签是正则表达式语言。当然,特定于字符串模式匹配的领域。 VHDL之所以受欢迎,是因为它很容易转换为在FPGA中使用。



[edit]
虽然它的Turing肯定不完整,但是C的printf()格式可以将说明符视为另一种特定于域的语言。


I'm interested in Domain Specific Languagess design and implementation. Much of the DSLs that I know stem from the academic world.

Can you give me some pointers to DSLs that are actually used in the industry ? and that you use on a daily-basis...which are really convenient..

(I'm interested in declarative languages too, but not really xml-based ones...)...

I'd like to establish a (non-exhaustive) list of industry-deployed languages...i know this is huge...

Sometimes, I'm implementing using a General Purpose Language things that could be trivially done using a DSL.

EDIT I'm mainly interested in application-directed DSLs, not small-embedded languages. For instance, SQL matches what I'm looking for but SQL embedded in java does not interest me. Another example of the kind of language i'm looking for is X#

解决方案

A DSL that's so succesful that it got its own SO tag is the regex language. Specific to the domain of string pattern matching, of course.

Another popular one, but with which I have no experience is VHDL. VHDLs popularity stems from the fact that it's easily converted for use in an FPGA.

[edit] While it's certainly not Turing complete, C's printf() format specifier can be considered as another domain-specific language.

这篇关于成功的特定领域语言?您使用哪一个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆