forms-data-format: Parse and serialize FDF, the Forms Data Format

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

This is a hacked-together library to parse and serialize FDF, Adobe's Forms Data Format. It does not follow the specification, but seems to work for simple cases.


[Skip to Readme]

Properties

Versions 0.1, 0.2, 0.2.0.1, 0.2.0.1, 0.2.1
Change log CHANGELOG.md
Dependencies base (>=4 && <5), bytestring (>=0.9 && <0.13), grammatical-parsers (>=0.5 && <0.8), monoid-subclasses (>=1 && <2), parsers (<0.13), rank2classes (>=1 && <1.6), text [details]
License BSD-3-Clause
Copyright (c) 2023 Mario Blažević
Author Mario Blažević
Maintainer blamario@protonmail.com
Category data, text
Bug tracker https://github.com/blamario/forms-data-format/issues
Source repo head: git clone https://github.com/blamario/forms-data-format
Uploaded by MarioBlazevic at 2023-11-25T19:23:01Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for forms-data-format-0.2.0.1

[back to package description]

Forms Data Format

The Forms Data Format, or FDF for short, is a horrible data format thought up by Adobe. Its only redeeming feature is that in practice it's much simpler than PDF.

This Haskell package is hacked together to parse and re-serialize some files in FDF format. It certainly does not support the full range of possible FDF files. I tried to follow the specification but gave up.

The main purpose of the package is to allow parsing and serializing Canadian tax forms in FDF format. For that purpose this hack seems sufficient. If you find it doesn't work for some other FDF files, feel free to contribute some code.