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.
11 questions
1
vote
2
answers
186
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
6
answers
300
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 ...
3
votes
2
answers
3k
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
2
answers
2k
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
1
answer
325
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
6
answers
332
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
2
answers
2k
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
2
answers
500
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 to ...
7
votes
3
answers
588
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
2
answers
344
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 ...
112
votes
22
answers
134k
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 ...