Code Monkey home page Code Monkey logo

dle's Introduction

GitHub GitHub top language GitHub last commit GitHub issues

Data Language Examples

DL Logo

ATTENTION: This is the ALPHA release. Still many changes to come!

This is the example project to Data Language (See: https://github.com/studio42gmbh/dl)

Have a great day!

Benjamin

"Look up to the stars not down on your feet. Be curious!" Stephen Hawking 1942 - 2018

Get started

Find the Javadoc here: https://studio42gmbh.github.io/dle/javadoc/

Simple Configuration Example

Shows using DL for your configuration.

See https://github.com/studio42gmbh/dle/tree/master/src/main/java/de/s42/dl/examples/simpleconfiguration

Load And Store Example

Shows using DL for loading and storing your complex configuration.

See https://github.com/studio42gmbh/dle/tree/master/src/main/java/de/s42/dl/examples/loadandstore

Binary Example

Shows you how to write and read DL in different default formats - especially BIN and BIN_COMPRESSED.

See https://github.com/studio42gmbh/dle/tree/master/src/main/java/de/s42/dl/examples/binary

GUI Example

Shows creating a very simple data driven GUI framework with DL.

See https://github.com/studio42gmbh/dle/tree/master/src/main/java/de/s42/dl/examples/gui

DL Only Example

Showcases the possibilites of DL only usage.

  • Require other modules
  • Define extern types, annotations, pragmas
  • Define complex types with extends und contains
  • Use pragmas
  • Define instances
  • Reference instances
  • Export instances
  • Introspect DL within Java

See https://github.com/studio42gmbh/dle/tree/master/src/main/java/de/s42/dl/examples/dlonly

HTML Example

Showcases creating a html file from a dl dialect.

From

html {
  body {
    div main {
      classes : alert, alert-info;
      div {
        classes : jumbotron;
        h1 heading { text : "The Heading"; }
        p headingText { text : "The multiline\ntext under the heading";	}
      }
    }
  }
}

To

<html>
  <body>
    <div id="main" class="alert, alert-info">
      <div class="jumbotron">
        <h1 id="heading">The Heading</h1>
        <p id="headingText">The multiline<br/>text under the heading</p>
      </div>
     </div>
  </body>
</html>

See https://github.com/studio42gmbh/dle/tree/master/src/main/java/de/s42/dl/examples/html

dle's People

Contributors

studio42gmbh avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.