Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1010 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 1010 Bytes

distillery

DNF compactor

This project parses DNFs in a specific format and compacts them into a denser format.

DNF Format

The format used for reading in DNFs is the following:

[A,B];[B,C]
[A,E,Y];[Z,W,I]

Each line denotes one set of DNFs that should be compacted. Per set of DNFs each of them is written between [ and ] and they are separated by a semicolon.

Build

This is a Maven project. It includes an ANTLR4 grammar that needs to be compiled in order to be used. To compile the project, run:

mvn compile

Verify

This project enforces the AOSP Java style and the spotless ANTLR4 style using Spotless. To verify whether the code is complying to these styles, verify the project:

mvn verify

In case Spotless reports violations, format the code with:

mvn spotless:apply