io7m-com / anethum

Generic parser API

Home Page:https://www.io7m.com/software/anethum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

anethum

Maven Central Maven Central (snapshot) Codecov Java Version

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.

About

Generic parser API

https://www.io7m.com/software/anethum

License:ISC License


Languages

Language:Java 99.8%Language:CSS 0.2%