Questions tagged [dsl-tools]
74 questions
17
votes
6 answers
Pros/cons of different language workbench tools such as Xtext and MPS?
Does anyone have experience working with language workbench tools such as Xtext, Spoofax, and JetBrains' MPS? I'm looking to try one out and am having a hard time finding a good comparison of the different tools. What are the pros and cons of…

josh
- 9,038
- 8
- 31
- 37
15
votes
3 answers
VS2022 Extensibility: How to resolve "The type 'XXX' exists in both 'Assembly 1' and 'Assembly2' in T4 template execution
I have an extension I'm updating from VS2019 to VS2022. It's a DSL using the Modeling SDK and has code generation via T4 templates.
I have it pretty much converted but, when running the T4s, I get
Compiling transformation: The type 'SourceControl'…

Michael Sawczyn
- 305
- 3
- 10
10
votes
4 answers
Microsoft Visual Studio SDK DSL Tools - Any serious takers?
We are considering Microsoft DSL toolkit for creating some abstract designers. I already did some POCs, but would like to get some opinions on the same.
Any one here to share their experiences working with Microsoft DSL Toolkit and T4? Also, any…

amazedsaint
- 7,642
- 7
- 54
- 83
9
votes
6 answers
Textual Domain-Specific language (DSL) development with Microsoft Visual Studio
I did some searches on developing a DSL in visual studio. At the beginning, I found out there is a Visualization and Modeling SDK for VS2010. It has a tool called DSL tool. But it seems that it is only for graphical DSL development.
Then I saw some…

Wayne Yeung
- 145
- 2
- 6
9
votes
8 answers
Which language (that runs on JVM) is best suited for creating a DSL?
We have a requirement to create complex fixed length and variable length Strings. These strings might represent a customer profile, an order etc. Which JVM based programming language do you guys suggest?
Idea is for a end user to create the strings…

Aravind Yarram
- 78,777
- 46
- 231
- 327
7
votes
8 answers
Writing a compiler for a DSL in python
I am writing a game in python and have decided to create a DSL for the map data files. I know I could write my own parser with regex, but I am wondering if there are existing python tools which can do this more easily, like re2c which is used in the…

too much php
- 88,666
- 34
- 128
- 138
5
votes
5 answers
Why are parsing tools needed for DSLs?
Couldn't a DSL be as simple as an API and therefore not need a parser? Or am I misunderstanding what a domain specific language really is? I thought it referred to any organized set of rules for solving a particular domain problem. An API would seem…
Utrecht
5
votes
3 answers
Good tutorials to understand Domain Specific Languages (DSLs) from the scratch , to start a survey thesis
My thesis topic is about Domain Specific languages in general, I want to focus on design or implementation for external or internal DSLs but I can't even think or start because I am facing problems with understanding the concept of DSLs ..
I have…

user542847
- 59
- 1
- 3
5
votes
1 answer
Haskell LLVM -- Duplicate Functions Created
The problem I am having with the LLVM-Haskell bindings is that I am getting "duplicated" names. I think the best way to explain my problem is with a small concrete example (note the example is contrived, and for such a small example there are easy…

Jonathan Gallagher
- 2,115
- 2
- 17
- 31
4
votes
1 answer
inline domain specific language to generate Java code
I work on a program that performs matrix and vector operation in Java. The multiple function call and object creation that occurs in my current implementation makes it sluggish and difficult to understand.
For instance I want to update the position…

Pierre
- 545
- 5
- 14
3
votes
1 answer
Tool for "internalisation" of an external DSL in Java
I am developing and maintaining a database-abstraction library called jOOQ, which aims to "internalise" SQL as an external DSL into Java. The goal of this endeavour is to allow for type-safely constructing and executing all possible SQL syntax…

Lukas Eder
- 211,314
- 129
- 689
- 1,509
3
votes
3 answers
Transforming TT files in MsBuild
I need to build a DSL Solution using MsBuild and want to be able to transform the TT files, I have tried the guide on http://msdn.microsoft.com/en-us/library/ee847423(VS.100).aspx but I am getting the following errors:
Failed to resolve include…

Phill Duffy
- 2,805
- 3
- 33
- 45
3
votes
3 answers
Help with learning to use Irony for .net
I am trying to get up to speed with Irony. I keep seeing some terminology that I don't yet understand: terminals, non-terminals, token, state machine, Associativity, Abstract Syntax Tree.
Can someone please give some meaning to some of these terms?…

Ronnie Overby
- 45,287
- 73
- 267
- 346
2
votes
2 answers
DSL: from DSL rules into C# expressions
the question is maybe composite, let me expand it:
does it exists a designer (stub/framework/meta-designer) to create AND/OR based rules based on .NET object public bool properties? Saved as any DSL/Boo/... output.
is it possible to compile the DSL…

boj
- 10,935
- 5
- 38
- 57
2
votes
5 answers
Tools to build a DSL in .NET
I'm getting teased more and more into developing DSLs. I've developed a tiny one with F# using fslex and fsyacc but the error messages are inaccurate (I also can't find a way to generate better ones, there seems to be little documentation on how to…

em70
- 6,088
- 6
- 48
- 80