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

[ bsd3, data, library, text ] [ Propose Tags ] [ Report a vulnerability ]

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]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 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 (>=1.0 && <2.2) [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 2024-03-01T12:50:23Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 206 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-03-01 [all 1 reports]

Readme for forms-data-format-0.2.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.