larsbaunwall / DomainLang

A DSL for Domain-Driven Design
https://larsbaunwall.github.io/DomainLang/
Apache License 2.0
12 stars 1 forks source link

The DomainLang idea

Tests Visual Studio Marketplace

Inspired by the ContextMapper DSL, I wanted to try crafting a more complete DDD specification language, one that can be used for diagrams-as-code for DDD and at the same time serve as a semantic and compilable, model of a domain-driven architecture.

The language

Go directly to the language implementation here.

[!TIP] Try it live! You can try DomainLang for yourself in the online editor.

Goals

I want to provide a great IDE experience with code-completion and everything else you might be used to from coding. Preferably, this is going to work quite easy with VSCode.

On top of this, I plan to provide diagramming-support through GraphViz or similar, and an exploration UI to inspect your model, probably through a browser.

Status so far

This project is still in it's infancy. Feedback is much appreciated 🤩

I am currently exploring three paths:

I am new to designing DSLs, the Language Server Protocol in VSCode, and GraphViz, so this is probably going to be a fun ride :)

Discarded ideas

Get in touch

I would love to hear from you! Please submit an issue here, and I will try to get back to you as soon as possible.

Feedback is very welcomed - especially if you have experience from language design or domain-driven design.