Skip to main content

Questions tagged [domain-specific-languages]

For questions relating to domain specific languages, which are languages specialized for a specific problem domain

Filter by
Sorted by
Tagged with
0 votes
2 answers
114 views

Is it valid to call a configuration-format—with associated JSON-schema—a language?

Say I have a configuration file format that is very well defined; in say JSON format; with a JSON-schema defining what is allowed and how strict to be. Would it be too generous to call this a Domain ...
Samuel Marks's user avatar
4 votes
1 answer
68 views

How do I create an internal DSL with Ruby's do notation?

A common pattern with Ruby libraries is including internal domain-specific languages, embedded within do blocks in the program. These blocks have code that is ...
Michael Homer's user avatar
  • 12.9k
5 votes
1 answer
89 views

Documenting the syntax of an existing language [closed]

I've inherited maintenance duties for a domain-specific language. This language started life forty years ago as a quick way to insert the results of mathematical operations into text documents, and ...
Mark's user avatar
  • 244
4 votes
1 answer
175 views

How do I create an internal DSL with Haskell's do notation?

Haskell has a do notation for writing code that executes in a monad. I've seen that this is sometimes (ab?)used for creating embedded internal domain-specific ...
Michael Homer's user avatar
  • 12.9k
12 votes
3 answers
274 views

What are some practical examples of domain-specific term-rewriting systems?

I'm in the process of designing a simple domain-specific language and I think that a term-rewriting system may provide the simplest way to specify and implement it. However, I have only seen a few ...
Ben Kovitz's user avatar