What are some popular DSLs?

Go To StackoverFlow.com

0

I'm looking for popular domain specific languages. I believe CSS is one and XML/HTML could possibly fall into one? (Although that seems more data than language). The only other one i can come up with is the starcraft map editor...

What are some popular domain specific languages?

2012-04-03 22:58
by NoName
SQL? INI files? Markdown? Half of Ruby - cHao 2012-04-03 23:06
<whatever>something</whatever>: does it exist something less specific than XML - FelipeAls 2012-04-03 23:11
Regular expression is one of best examples of DS - Imre L 2012-11-14 16:44


5

The trick about domain-specific languages is that you define your own language for your specific problem domain. Or, as stated by Kerzhner (2009) "A DSL is a language that is tailored to describe a particular problem domain." [1]

From that perspective, HTML is a bad example because only few people defined HTML for there problem domain but much more people use it as a standard language for designing websites.

Hence, the question could be also: Are there popular languages to define DSLs? These are languages to define other languages, i.e. metalanguages. I would consider the languages around the Eclipse-Modeling Framework (EMF), OMG's Meta-Object-Facility as the two most common ones. However, GrGen's metamodeling capabilities are also quite impressing and probably easier to learn.

Btw: At Soley, we are building software for developing domain-specific languages. Soley Studio is an integrated development environment for defining graph-based, domain-specific languages that can be used for modeling as well as data analytics.


[1]: Kerzhner, A. A., & Paredis, C. J. J. (2009). Using Domain Specific Languages to Capture Design Synthesis Knowledge for Model-Based Systems Engineering. ASME 2009 International Design Engineering Technical Conferences & Computers and Information in Engineering Conference, IDETC/CIE 2009. San Diego, USA.

2012-11-14 16:34
by brgn


3

SuperCollider, or specifically the SuperCollider client (sclang), is considered a DSL used for real-time audio synthesis and algorithmic composition. Additionally, there are other client-side implementations, including ScalaCollider and Overtone, which use Scala and Clojure (respectively) to talk to the SuperCollider server.

2012-04-03 23:14
by dtg


2

From Wikipedia:

Examples of domain-specific languages include

  • HTML,
  • Logo for children,
  • Verilog and VHDL hardware description languages,
  • Mata for matrix programming,
  • Mathematica and Maxima for symbolic mathematics,
  • spreadsheet formulas and macros,
  • SQL for relational database queries,
  • YACC grammars for creating parsers,
  • regular expressions for specifying lexers,
  • the Generic Eclipse Modeling System for creating diagramming languages,
  • Csound for sound and music synthesis,
  • and the input languages of GraphViz and GrGen, software packages used for graph layout and graph rewriting.
2012-04-03 23:08
by FelipeAls