[DSL] Domain Specific Language

Submitted by Dickens A S on Sat, 10/26/2019 - 11:04

Domain Specific Language is an amazing concept for many years. Any particular choice of DSL can be re-used and converted to another DSL type

Below are the benefits of DSL

  • Convert DSL to source code
  • Use DSL to trigger many application modules
  • Use DSL to build script
  • Use DSL for business process
  • Convert a visual diagram to source code
  • Use DSL for Dev-Ops

Examples of DSL

Combine Languages Together

Submitted by Dickens A S on Sat, 10/26/2019 - 08:39

Many languages can be combined together, languages can be invoked or called or directly used as follows

  • Python
  • R
  • JavaScript
  • Haskell
  • PHP 
  • Ruby
  • etc..

All these languages can be embedded and invoked from many languages using engines like Rhino for JavaScript

This benefits 

  • Reuse
  • Virtualize
  • Route
  • Embed

Example