A flexible lexer-generator/parser-combinator library which can generate abstract syntax trees for any context-free format, and parse those abstract syntax trees into objects using provided functions.
Support Discord: https://discord.gg/agu5xGy2YZ
RedLex can be accessed via JitPack using Gradle or Maven. Read the section for whichever you use below.
repositories {
maven { url 'https://redempt.dev' }
}
dependencies {
implementation 'com.github.Redempt:RedLex:Tag'
}
Replace Tag
with a version, like 1.0
, or a commit hash.
<repository>
<id>redempt.dev</id>
<url>https://redempt.dev</url>
</repository>
<dependency>
<groupId>com.github.Redempt</groupId>
<artifactId>RedLex</artifactId>
<version>Tag</version>
</dependency>
Replace Tag
with a version, like 1.0
, or a commit hash.
For instructions on how to use RedLex, please see the wiki.