Skip to content
/ pbn Public

Utility for parsing and manipulating PBN - Portable Bridge Notation

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE-APACHE
Notifications You must be signed in to change notification settings

zdenecek/pbn

Repository files navigation

PBN

PBN is a command line tool for working with Portable Bridge Notation (.pbn) files.

Some of the supported features include:

  • parse a file and validate it
  • printing overview information about a file
  • stripping a file of unnecessary parts
  • add analysis to a file

License

This project is licensed under the MIT License - see the LICENSE file for details.

Third-Party Libraries

This project uses the dds library, which is licensed under the Apache License 2.0. For more details, see the LICENSE-APACHE file included in this repository.

For modifications to the dds library, see my dds fork repository.

Features plan

  • exports to pdf, html
  • stricter adherence to PBN standard (currently it is not fully compliant)
    • validate
    • support more obscure import variant
    • check used features against declared version
  • pbn generation using external tools (e.g. Bigdeal)

User manual

User manual can be found in guide.md.

Use --help flag to see the options.

Building

PBN is written in .NET Core 7 and C#.

To build on Windows x86, you can use the provided prebuild dds.dll file.

dotnet build

Otherwise, you need to compile dds from sources. Luckily, this project provides a CMake build script to make it simple for you.

mkdir build
cd build
cmake ..
make DotnetPublish

The executable will be in the publish directory.

Should you run into any issues, good luck in CMake hell.

Documentation

This project uses docfx to create documentation. You need to have it installed to build the docs.

To build the documentation, run

docfx docs/docfx.json

Documentation will be generated in the docs/_site directory.

If you want to serve the documentation locally, run

docfx docs/docfx.json --serve

Testing

To run the tests, run

dotnet test

Authors

Zdeněk Tomis

About

Utility for parsing and manipulating PBN - Portable Bridge Notation

Topics

Resources

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE-APACHE

Stars

Watchers

Forks