What is domain-specific language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is domain-specific language?

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

3rd Jul 2022, 5:30 PM
Dhrubak
4 Answers
+ 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
4th Jul 2022, 3:46 AM
Himani Perera
Himani Perera - avatar
+ 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.
4th Jul 2022, 2:48 AM
Paul K Sadler
Paul K Sadler - avatar
+ 2
Ipang, I saw this term in the definition of sql in google
4th Jul 2022, 2:42 AM
Dhrubak
+ 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.
4th Jul 2022, 2:36 AM
Ipang