Sha256: 74d9dc55715f686d4a743573baa57b23f3a1dcab4e4e5e0bcd9d7780c6b934b1
Contents?: true
Size: 752 Bytes
Versions: 174
Compression:
Stored size: 752 Bytes
Contents
A [Domain Specific Language (DSL)](https://en.wikipedia.org/wiki/Domain-specific_language) is a small language optimized for a specific domain. For example the dot language of [Graphviz](http://graphviz.org) allows you to write a textual description of a graph which is then transformed into a picture by one of the graphviz tools (such as `dot`). A simple graph looks like this: graph { graph [bgcolor="yellow"] a [color="red"] b [color="blue"] a -- b [color="green"] } Putting this in a file `example.dot` and running `dot example.dot -T png -o example.png` creates an image `example.png` with red and blue circle connected by a green line on a yellow background. Create a DSL similar to the dot language.
Version data entries
174 entries across 174 versions & 1 rubygems