Skip to content

io7m/anethum

Repository files navigation

anethum

Maven Central Maven Central (snapshot) Codecov

com.io7m.anethum

JVM Platform Status
OpenJDK (Temurin) Current Linux Build (OpenJDK (Temurin) Current, Linux)
OpenJDK (Temurin) LTS Linux Build (OpenJDK (Temurin) LTS, Linux)
OpenJDK (Temurin) Current Windows Build (OpenJDK (Temurin) Current, Windows)
OpenJDK (Temurin) LTS Windows Build (OpenJDK (Temurin) LTS, Windows)

anethum

A common API for parsers and serializers in io7m packages.

Features

  • Standardized interface for parsers.
  • Standardized interface for serializers.
  • Parse errors are structured errors.
  • Written in pure Java 17.
  • OSGi ready.
  • JPMS ready.
  • ISC license.
  • High-coverage automated test suite.

Motivation

io7m packages expose many different parsers and serializers. The anethum package attempts to define a consistent and strongly-typed API specification that these parsers and serializers can implement in order to provide a uniform user experience between all of the different packages.

Building

$ mvn clean verify

Usage

Parsers should implement the ParserFactoryType and ParserType interfaces.

Serializers should implement the SerializerFactoryType and SerializerType interfaces.