Domain-specific languages are computer languages specialized to a particular application domain. Examples are HTML, Unix shell scripts and MediaWiki templates.
10
votes
3answers
583 views
Hello There Calculator
The open source project I work on uses Antlr4 pretty heavily, but I don't know much about it. I thought I would use April's Community Challenge as an opportunity to learn something about grammars, ...
4
votes
1answer
81 views
Expressing Rebol Dates in EBNF
I'm looking to define the Rebol date format in EBNF notation. I'd like as best as possible to only define valid dates—at least those that are valid in Rebol at the moment:
...
3
votes
0answers
99 views
DSL design for iOS Autolayout
I am building a small DSL for iOS' autolayout feature. Obviously I want to have a typesafe way to define autolayouts instead of doing VSL. I came up with the following:
...
3
votes
1answer
55 views
3
votes
2answers
50 views
Basic value comparisons
I made a value comparison "programming language" similar to a previous one I made, except this one is based solely on value comparisons.
...
4
votes
1answer
74 views
Learning to write DSL utilities for unit tests and am worried about extensibility
I'm trying to simplify our unit tests with hand written DSL's. So far I have DSL's that walk developers through processing a service after setting up all preconditions and the construction of an ...
3
votes
1answer
87 views
DSL for describing circuits
I am working on a micro project: a Haskell DSL for describing circuits.
(You can find the code here)
I'm pretty happy with everything so far, but there is an ugly function ...