What is domain-specific language? | Sololearn: Learn to code for FREE!

+2

What is domain-specific language?

Explain it in a simple way. I saw this term in the definition of sql in google

sql

7/3/2022 5:30:04 PM

Dhrubak

4 Answers

New Answer

+6

A domain-specific language (DSL) is a computer language specialized to a particular application domain. Ex: SQL, HTML, CSS This is in contrast to a general-purpose language (GPL), which is broadly applicable across domains. Ex: Java, C, C++, Python

+3

Ipang Dhrubak also for example in Puppet it has a DSL that is used to control configurations. It is specific to Puppet. Here is some helpful information: https://en.m.wikipedia.org/wiki/Domain-specific_language#:~:text=A%20domain%2Dspecific%20language%20is,solve%20problems%20in%20many%20domains.

+2

Ipang, I saw this term in the definition of sql in google

+1

Can you add the complete paragraph that contained the statement? or link to the page/article where you read it? you can add extra details in post Description above.