Skip to content

A data type definition language for generating implementations in various target languages (TypeScript, Java, etc.)

Notifications You must be signed in to change notification settings

TypeFox/datatype-definition

Repository files navigation

Datatype Definition Language

Provides single definiton of datatypes and generation of implementations in different target languages, currently Java & TypeScript. Simplifies data exchange between different programming environments, e.g. via JSON-RPC.

Generator CLI

The Datatype Definition language features a generator that you can run via cli. It produces datatype implementations in the selected target language, defaults to Java.

  • Ensure the complete project was properly built, otherwise run npm install from the project root dir.
  • Use node <projectRoot>/bin/cli to run the cli, than follow the instructions.

You also can use datatypes-cli as a replacement for node ./bin/cli, if you install the cli globally.

  • Run npm install -g ./ from the domainmodel directory.
  • Use datatypes-cli to run the cli and follow the instructions.

VSCode Extension

Please use the VSCode run configuration "Launch Datatype Definition Extension" to launch a new VSCode instance including the extension for this language. Use the run configuration "Attach" to attach the debugger.

About

A data type definition language for generating implementations in various target languages (TypeScript, Java, etc.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published