The dfasdl utils package includes several useful tools for working with the dfasdl core package from scala.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jens Grassel 12ab23e142
Merge pull request #10 from jan0sch/cross-build-for-2_13
6 months ago
benchmarks/src Disable wartremover for benchmarks. 6 months ago
project Enable cross building for Scala 2.11, 2.12 & 2.13 6 months ago
src Enable cross building for Scala 2.11, 2.12 & 2.13 6 months ago
.gitignore Enable cross building for Scala 2.11, 2.12 & 2.13 6 months ago
.scalafmt.conf Enable cross building for Scala 2.11, 2.12 & 2.13 6 months ago
.travis.yml Switch to OpenJDK 8 6 months ago
AUTHORS.md Publish first version. 3 years ago
CHANGELOG.md Enable cross building for Scala 2.11, 2.12 & 2.13 6 months ago
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2 years ago
CONTRIBUTING.md Publish first version. 3 years ago
LICENSE Publish first version. 3 years ago
README.md Enable cross building for Scala 2.11, 2.12 & 2.13 6 months ago
build.sbt Disable wartremover for benchmarks. 6 months ago

README.md

DFASDL Utils

Build Status codecov Codacy Badge Download

The DFASDL is a language based upon XML Schema that can be used to describe data formats and additionally the semantics of it.

It is used by the Tensei-Data project to describe data structures and to derive mappings and transformation functions between different structures automatically.

This repository contains the utils module which provides helpful functions and data types. It depends on the dfasdl-core package.

It is cross build for scala 2.11, 2.12 and 2.13.

Releases are published on bintray and should be synced to jcenter. To use the bintray repository directly just add the appropriate resolver to your sbt configuration:

resolvers += "DFASDL" at "https://dl.bintray.com/wegtam/dfasdl"

The api documentation is published using github pages and is available online at: https://dfasdl.github.io/dfasdl-utils/

System requirements

  • Java 8
  • Scala 2.12
  • sbt

Documentation

The documentation is generated via the sbt-site plugin. Use the makeSite task in sbt to generate it.

Tests

To execute the tests run the test task in sbt. Tests will be automatically run before publishing.

Benchmarks

The project includes benchmarks which can be run via sbt:

> benchmarks/jmh:clean
...
> benchmarks/jmh:compile
...
> benchmarks/jmh:run -i 10 -wi 4 -f3 -t1
...

Be sure to compile the whole project before.