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
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
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
-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 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
4 votes
2 answers
909 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
0 votes
1 answer
170 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
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