Browse Definitions :
Definition

domain specific language (DSL)

Contributor(s): Cameron McKenzie

A domain specific language (DSL) is a programming language that is developed to meet a specific need.  In this sense, a domain is a narrow area of interest.

A DSL may be developed to meet the needs of a particular platform, system, toolset, software problem, industry, or business challenge that cannot be effectively addressed by using mainstream languages. Examples of commonly used DSLs include cascading style sheets (CSS), Ant and SQL. The human-readable code that many DSLs employ can also help improve collaboration between programmers and other stakeholders. 

A DSL can be contrasted with a general purpose language, such as C#, which is designed to address a broad range of needs across the software development landscape. In many cases, a subset of a general purpose language can be developed and implemented as a domain specific language to address a particular problem. Ruby (particularly Ruby on Rails) and Scala are examples of languages that lend themselves to the development of these internal DSLs. For example, Scala might be used to create a DSL for highly complex domains such as trading exchanges in the energy industry. Most software projects will incorporate a general language and several peripheral DSLs to add required functionality for various domains within the system.

 

This was last updated in September 2014

Continue Reading About domain specific language (DSL)

Join the conversation

1 comment

Send me notifications when other members comment.

Please create a username to comment.

Amazing.
Cancel

-ADS BY GOOGLE

File Extensions and File Formats

SearchCompliance

SearchSecurity

  • cybersecurity

    Cybersecurity is the protection of internet-connected systems, including hardware, software and data, from cyberattacks.

  • asymmetric cryptography (public key cryptography)

    Asymmetric cryptography, also called public key cryptography, uses a pair of numerical keys that are mathematically related to ...

  • digital signature

    A digital signature is a mathematical technique used to validate the authenticity and integrity of a message, software or digital...

SearchHealthIT

SearchDisasterRecovery

  • business continuity plan (BCP)

    A business continuity plan (BCP) is a document that consists of the critical information an organization needs to continue ...

  • disaster recovery team

    A disaster recovery team is a group of individuals focused on planning, implementing, maintaining, auditing and testing an ...

  • cloud insurance

    Cloud insurance is any type of financial or data protection obtained by a cloud service provider. 

SearchStorage

  • hard disk drive (HDD)

    A computer hard disk drive (HDD) is a non-volatile memory hardware device that controls the positioning, reading and writing of ...

  • byte

    In most computer systems, a byte is a unit of data that is eight binary digits long. Bytes are often used to represent a ...

  • network-attached storage (NAS)

    Network-attached storage (NAS) is dedicated file storage that enables multiple users and heterogeneous client devices to retrieve...

Close