Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.
/ dsl-parser-kt Public archive

A simple parser combinator library for expressions and domain specific languages, written in Kotlin

License

Notifications You must be signed in to change notification settings

spissvinkel/dsl-parser-kt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

This repo is now archived on GitHub
Any new development will happen on Codeberg

DSL Parser

A simple parser library for expressions and domain specific languages, written in Kotlin.

Use

Maven dependency

<repositories>
    <repository>
        <id>dsl-parser-mvn-repo</id>
        <url>https://github.com/spissvinkel/dsl-parser-kt/raw/mvn-repo</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>no.simenstorsveen</groupId>
        <artifactId>dsl-parser</artifactId>
        <version>0.2.2</version>
    </dependency>
</dependencies>

Develop

Install dependencies

Java JDK 21+ and Maven 3.8+ are required to build the project

Build project

$ mvn clean package

References

This project was inspired by the paper "Monadic Parser Combinators" by Hutton and Meijer, the paper "Parsec: Direct Style Monadic Parser Combinators for the Real World" by Leijen and Meijer, and the chapter on parser combinators in the book "Programming in Scala" by Odersky et al.

About

A simple parser combinator library for expressions and domain specific languages, written in Kotlin

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages