Konloch Software

DSLBuilder

Published 02/15/2023 Updated 03/03/2023

DSLBuilder is zero dependency Java library for creating domain specific languages.

What Does It Do?

  • You can easily create your own domain specific language and supply your own runtime using this library.

Links

Requirements

  • Java 8 or greater

How To Integrate as a Dependency

Add the following to your pom.xml as a maven dependency, or just download the latest release and import it with your IDE.

<dependency>
  <groupId>com.konloch</groupId>
  <artifactId>DSLBuilder</artifactId>
  <version>1.2.1</version>
</dependency>

How To Use

  1. The Example Driver
    • Create a DSL instance, execute a script, then execute specific subscripts.
  2. The Example DSL Implementation
    • You can define your DSL by plugging in the delimiters you would like to use.
    • Then you can plug in the handlers for the functions and the variables.
  3. The Example DSL Script
    • This script shows off the init function and subscript functions.

Latest Updates

DSLBuilder v1.2.1

This has been heavily tested but please feel free to report any issues found.

To add it as a maven dependency:

<dependency> 
 <groupId>com.konloch</groupId> 
 <artifactId>DSLBuilder</artifactId>.
Read More

DSLBuilder v1.2.0

This has been heavily tested but please feel free to report any issues found.

To add it as a maven dependency:

<dependency> 
 <groupId>com.konloch</groupId> 
 <artifactId>DSLBuilder</artifactId>.
Read More

DSLBuilder v1.1.2

This has been heavily tested but please feel free to report any issues found.

To add it as a maven dependency:

<dependency> 
 <groupId>com.konloch</groupId> 
 <artifactId>DSLBuilder</artifactId>.
Read More

DSLBuilder v1.1.1

This has been heavily tested but please feel free to report any issues found.

To add it as a maven dependency:

<dependency> 
 <groupId>com.konloch</groupId> 
 <artifactId>DSLBuilder</artifactId>.
Read More

DSLBuilder v1.1.0

This has been heavily tested but please feel free to report any issues found.

To add it as a maven dependency:

<dependency> 
 <groupId>com.konloch</groupId> 
 <artifactId>DSLBuilder</artifactId>.
Read More

DSLBuilder v1.0.0

This is the first public release of the library, it has been heavily tested but please feel free to report any issues found.

To add it as a…

Read More