Skip to content
Studio 42 GmbH edited this page Apr 24, 2022 · 7 revisions

DL Logo

ATTENTION: This is the ALPHA release. Still many changes to come! More explanations will come in future.

The Data Language is designed to allow complex data driven projects to be more successful. Its simple syntax is close to JSON. But DL also provides extensible language constructs for types, enums, annotations and pragmas. It also allows you to modularize.

The Data Language provides a new state "loadTime" in your application life cycle (develop, compile, deploy, run). This allows you to easily make sure that just validated and consistent data enters your application. The possibilities range much further than any JSON schema can provide.

All entities types, annotations, enums, pragmas and instances are extensible.

You can find the complete ANTLR grammar here: https://github.com/studio42gmbh/dl/tree/master/src/main/antlr4/de/s42/dl/parser

Instances

Instances are your data.

Read More

Types

Types allow to define the allowed entities in your domain dialect.

Read More

Enums

Enums allow to define enumerations (list of defined values).

Read More

Annotations

Annotations allow you to give constraints to your types, attributes and instances.

Read More

Expressions

Expressions allow you to assign complex terms like 5 * ( 8 - 4 ) to your attributes.

Read More

Aliases

Alias allows to define another name for your types, annotations and pragmas.

Read More

Requires

Require other modules to be loaded.

Read More

Pragmas

Pragmas allow you to set system properties like i.e. if you are allowed to define further types etc.

Read More

Comments

DL provides single line (//) and multiline comments (/* ... */)

Read More