2 ms·
The concept of DSL is quite popular and well known. It can be effectively implemented in almost every language, but some languages are better suited to DSLs tha
by lmilcin 9y ago
The concept of DSL is quite popular and well known. It can be effectively implemented in almost every language, but some languages are better suited to DSLs than others and allow hiding the underlying language structures (this is so called "syntactic sugar").
Here is a small example I just googled: http://mrhaki.blogspot.com/2013/05/gradle-goodness-extending-dsl.html http://mrhaki.blogspot.com/2013/05/gradle-goodness-extending...
The main idea is to use the language to create another language layer, better suited to the task at hand.
- tenken 9y agoThanks, no idea grandle has 1st class support for creating DSLs and I overlooked the 1 keyword you had in your reply -- my bad. In general I am familiar with dsl's. Appreciate the feedback.