/LibSLParser

Primary LanguageKotlin

LibSLParser

h31

LibSLParser library allows to parse, construct, modify and pretty print library models written in LibSL language. More information about LibSL can be found in the article

Itsykson V. M. LibSL: Language for Specification of Software Libraries, Programmnaya Ingeneria, 2018, vol. 9, no. 5, pp. 209—220.

or in papers 1, 2.

Maven

<repositories>
  <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
  </repository>
</repositories>
...
<dependency>
    <groupId>com.github.h31.LibSLParser</groupId>
    <artifactId>libslparser-core</artifactId>
    <version>1.1</version>
</dependency>

Gradle

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
...
dependencies {
  implementation 'com.github.h31.LibSLParser:libslparser-core:1.1'
}

Usage Examples

Project Structure

The main submodule is libslparser-core. libslparser-edgemodel contains some legacy code for model analysis, you probably wouldn't need it. libslparser-tests is for tests.