Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [domain-specific-languages]

a set of symbols and means of using them which allows solutions to be expressed in terms most closely related to the problem space. Example: HTML was designed to structure web page content, even non-programmers can use it.

0
votes
2answers
95 views

How to link domain specifications with the code implementation without forcing domain expert to adopt any particular practice

Our current business process is that the domain experts will write down the business logic in a Word document, and developers will try to reflect those logic as closely as possible with the ...
3
votes
6answers
223 views

Language Design: skipping occurrences of an identifier instead of accessing enclosing scope

No idea how to write a good title for this question. I'm thinking about introducing an operator in a DSL that makes hidden identifiers (like variables) accessible. Think this.foo in Java or C# to ...
2
votes
2answers
1k views

Creating abstraction over API

I'm trying to figure out how to create abstraction over different APIs, which have common things. For example let's take the mobile platforms you have Android, Windows Phone and IOS. Let's say I want ...
1
vote
2answers
1k views

Embedding extremely basic scripts in application

I need to program a C++ application which will basically work as a script interpreter, but with extremely basic and limited scripts. The scripts will have a format like this: processedA = doProcessA(...
4
votes
1answer
240 views

Can Fluent DSL's exist in big data environments?

The way I understand Fluent Domain Specific Languages I am able to use method chaining to have a conversation with the code. For example, if the business requirement is to call the database in order ...
4
votes
6answers
277 views

Why would I write a DSL instead of a form based RIA?

I've been reading some papers recently on domain specific languages (DSL), but none of them appear to address the advantages of a DSL over a rich internet application (RIA). In an RIA, instead of ...
2
votes
2answers
1k views

Adding dynamic business logic/business process checks to a system

I'm wondering if there is a good extant pattern (language here is Python/Django but also interested on the more abstract level) for creating a business logic layer that can be created without coding. ...
5
votes
2answers
447 views

Example of time-saving usage of compile-time meta-programming?

The webpage of Converge states that: Converge has a macro-like facility that can embed domain specific languages with arbitrary syntaxes into source files. I am most intrigued by the possibility ...
7
votes
3answers
453 views

Is there such thing as an example driven parser generator or ad-hoc DSL development?

I'm intrested to know if there exists a tool that lets you input examples of valid documents and lets you then generalize from that to a reusable parser. I can imagine this, but everytime i start ...
10
votes
2answers
253 views

Ubiquitous Language - conflict between correctness and usability

A core part of Domain Driven Design is the consistent use of a ubiquitous language across the system - in conversations, code, database schema, UI, tests, etc. I'm involved in a project in which ...
104
votes
22answers
113k views

Automatic programming: write code that writes code [closed]

After reading the book The Pragmatic Programmer, one of the arguments I found most interesting was "write code that writes code". I tried searching over the net for some more explanations or articles ...