NOTE: This language server is a proof of concept and does not support all Context Mapper features yet.
Context Mapper is an open source tool providing a Domain-specific Language based on Domain-Driven Design (DDD) patterns for context mapping and service decomposition.
The Context Mapper language server is implemented with Langium. To run the language server the following tools have to be installed locally:
- Node.js (v22)
To build the language server the following tools have to be installed locally:
- corepack: Corepack is needed to install yarn v4. For that corepack has to be enabled with
corepack enable
. (Corepack is included in v22 of Node.js)
To build the language server, the Langium resources have to be generated first:
yarn langium:generate
Then you can execute:
yarn build
For distribution, the language server is bundled into a single file using ncc
. To bundle the language server execute:
yarn bundle:language-server
To execute the bundled language server execute:
node cml-ls/index.js --stdio
Contribution is always welcome! Here are some ways how you can contribute:
- Create Github issues if you find bugs or just want to give suggestions for improvements.
- This is an open source project: if you want to code, create pull requests from forks of this repository. Please refer to a Github issue if you contribute this way.
- If you want to contribute to our documentation and user guides on our website https://contextmapper.org/, create pull requests from forks of the corresponding page repo https://github.com/ContextMapper/contextmapper.github.io or create issues there.
ContextMapper is released under the Apache License, Version 2.0.