2,237 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
138
views
Parsing colons using macros in C++ without needing to write a parser DSL [closed]
Im trying to make a language for a book library, and want to achieve this syntax.
CREATE BOOK {
NAME: "b1",
AUTHOR: "me",
}
How can I use cpp and macros so when this is ...
Advice
0
votes
3
replies
96
views
Design and development of a specification language
I developed a specifications language. Depending on the comments on this, I’ll call it a "code-aware specifications language" or a "verification-aware specifications language". The idea I’m playing ...
1
vote
1
answer
78
views
java-cup sends "Syntax error @ Symbol: PARSER" and NullPointerException when compiling a .cup
I’m working on a DSL parser using Java CUP, and I’m getting this error when trying to compile my .cup grammar:
Error: Syntax error @ Symbol: PARSER (unknown:19/-5(-1) - unknown:19/1(-1))
Error : ...
2
votes
0
answers
48
views
How to add icon before text in CompartmentShape (Domain-specific language VS Tool)
I am trying to create UML-like diagram tool in Visual Studio 2022 which supports composition and aggregation. I know that Visual Studio 2022 has a Class Designer (.cd file extension) but it is missing ...
0
votes
1
answer
51
views
Python DSL Delta is not plat-form independent [closed]
Python DSL Delta is not plat-form independent
Server Socket Code for getting input url from user's client curl or browser
Please make note curl will reply to empty server as disguise, but browser ...
0
votes
0
answers
26
views
How can I change a DomainProperty type to another DomainClass in Visual Studio DSL Designer?
I'm designing a custom DSL using Visual Studio DSL Designer, and I'm trying to model a classic Entity–Property structure.
I have two DomainClass elements:
Entity: represents a model class (like ...
0
votes
0
answers
175
views
hudson.remoting.ProxyException: java.nio.file.AccessDeniedException: /var/jenkins_home
Jenkins or the container process tried to write to /var/jenkins_home, but it lacked the required file system permissions.
Jenkins pipelines on Kubernetes using a shared podTemplate that dynamically ...
1
vote
1
answer
82
views
Failing to write a summarizer
I'm trying to write a summarizer for my DSL in order to display error messages in the console.
I've been following the example with the Pico language and was able to successfully create a parser and ...
0
votes
0
answers
34
views
EMF/Xtext grammar error "Encountered `val` at line 6, column 5. Was expecting `}`" after `Model` definition
I’m defining an EMF metamodel but I keep getting an error on the { that starts my Model class. The parser highlights the opening brace after Model and reports:
Encountered " "val" &...
1
vote
1
answer
71
views
Lean4 lambda calculus DSL macro
I would like to define a DSL for writing lambda terms in Lean using macros a la the arithmetic example. I want to support syntax for multiple arguments in the lambda, and left-associativity. Thus far, ...
0
votes
0
answers
65
views
How to convert SQLite query to Exposed DSL Kotlin?
I have this SQLite query in my room database which works fine. Now I want to take this feature and implement it in my KTOR server. How can I write the same query in Exposed DSL?
@Query(
"...
0
votes
2
answers
476
views
How to use '!include' without Structurizr
How can I use !include within Structurizr, allowing more than one file to be added within the same workspace, my attempt:
File 1
workspace {
# Inclui o outro arquivo antes do model
!include /...
user avatar
user29715992
0
votes
0
answers
104
views
Adding Debugging Support for a Custom Language in Visual Studio Code
I am developing a plugin for Visual Studio Code to facilitate the programming of applications using a domain-specific programming language. Currently, there is a transpiler from such a language to C. ...
1
vote
1
answer
90
views
Valid targets for @MyDslMarker annotations for Kotlin DSLs and the purpose of annotating functions and properties
Preconditions
The @DslMarker annotation can only be applied to annotation class by design. However, once our own annotation is defined (e.g., annotation class MyDslMarker), it can be applied to any ...
4
votes
1
answer
287
views
Kotlin UI DSL - how to modify rows?
The question is about plugin development using Kotlin UI DSL (https://plugins.jetbrains.com/docs/intellij/kotlin-ui-dsl-version-2.html)
For example, I have panel
panel {
list.forEach { item ->
...