Domain Specific Language (DSL) and Framework

What is the main difference between the main idea of ​​DSL and Frameworks? These two questions are very confusing for me, and I could not find the right answer over the Internet!

+4
source share
1 answer
Good question. This is the simplest explanation I see:

DSL may have its own specific syntax. A structure cannot have its own syntax, because it is used in the same language in which it was created. Domain Languages ​​Compared to Frames

For example: HTML is DSL, while directives in the AngularJS framework are written in HTML syntax, so they are not a separate language.

+3
source

Source: https://habr.com/ru/post/1548265/


All Articles