Skip to main content

Questions tagged [dsl]

A domain-specific language (DSL) is a programming language or specification language dedicated to a particular problem

2 votes
1 answer
2k views

What are the best practices when using global variables? Normally, the common answer to this is to avoid using global variables and use local variables, properties and arguments to pass data around. ...
Chris's user avatar
  • 535
0 votes
3 answers
238 views

We're currently using the Apache Camel Java DSL to structure our application, but I guess this question can mostly apply to any DSL in general. Now, amongst our developers, we are divided on two polar ...
random_software_dev's user avatar
0 votes
0 answers
177 views

I am working on a DSL for text processing. The core is searching for regular expressions with some operators around them. These searches are embedded into a more procedural program, which allows for ...
flowit's user avatar
  • 237
-3 votes
1 answer
159 views

I have a build pipeline that builds my C++ project on Windows, macOS and Linux. The build process generates 100 libraries and files on each OS. So I have a directory with these files, and I want to ...
Daniel Stephens's user avatar
1 vote
1 answer
563 views

I am creating a DSL for a scraping library I am writing. I would like advice on how to design a DSL, and if the designs I have below are good ones. Apologies if this is an open-ended question, but it ...
andykais's user avatar
  • 111
0 votes
1 answer
503 views

I have a question about Fluent Interface Builder. I have a simple object like this: public class Person { public string Name { get; set; } public string Surname { get; set; } public int ...
pampua84's user avatar
  • 133
-2 votes
2 answers
800 views

I'm building a data processing system where users can submit hooks to execute on incoming data. The hooks are untrusted and should execute in a sandbox with access only to a limited API that I expose ...
Benjamin Egelund-Müller's user avatar
-1 votes
2 answers
640 views

I'm trying to develop a way to represent something that has an URI inside of it, let's say: {someVariable}{separator}{URI}{separator}{anotherVariable} where someVariable is alphanumeric. I just ...
Štef FoReal's user avatar
1 vote
1 answer
173 views

Reading books on REST architecture(especially O'Reilly) many times I came across the idea that one should attach data's description into link http header. Link: <http://example.com/...
nikita's user avatar
  • 151
0 votes
3 answers
2k views

Currently, my aggregates and value objects have protected constructors and some of them are being created by static factory methods inside the aggregate with descriptive names. It creates a nice DSL ...
Mohsen's user avatar
  • 209
4 votes
2 answers
910 views

Today, an interesting discussion with a colleague. We're going to create a wrapper for WCF's channels, that will handle the Close(), Abort() and Dispose() correctly. This wrapper is to be used instead....
Diana's user avatar
  • 151
1 vote
0 answers
85 views

I am writing a game in c++ with the v8 javascript engine embedded in it. I have a c++ workflow system I use to tell things how to do specific things. It's nice and I like it, but I need it to work ...
xaxxon's user avatar
  • 278
0 votes
1 answer
171 views

We want to create a DSL in Scala where you can declaratively list the ingredients that a product consist of. These ingredients can consist of for example "Create product a", "Create product b", "Send ...
user2609980's user avatar
1 vote
1 answer
496 views

I currently experimenting with DSLs with xtext. I want to implement a quick fix for the dsl I'm writing and I'm wondering, if there is a possibility in xtext or xtend hook (or something else) to ...
thepacker's user avatar
  • 893
6 votes
2 answers
3k views

Has anyone managed to use a common rules system between their frontend and backend? Similar to this question: Managing client-side and server-side validations in one place, I'm trying to find a way to ...
Sherman's user avatar
  • 163

15 30 50 per page