pta-standards
Formal specifications for plain text accounting formats covering Beancount, Ledger, and hledger. It includes EBNF/ABNF grammars, JSON Schema and Protobuf AST definitions, tree-sitter grammars, Alloy models for invariants, and conformance test suites, so anyone can build a correct, interoperable PTA implementation without reverse-engineering existing tools.
What it addresses
Building a correct, interoperable plain text accounting implementation currently requires reverse-engineering existing tools.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
pta-standards
Formal specifications for plain text accounting formats covering Beancount, Ledger, and hledger. It includes EBNF/ABNF grammars, JSON Schema and Protobuf AST definitions, tree-sitter grammars, Alloy models for invariants, and conformance test suites, so anyone can build a correct, interoperable PTA implementation without reverse-engineering existing tools.
Problem: Building a correct, interoperable plain text accounting implementation currently requires reverse-engineering existing tools.
Posted by @robcohen · Original source ↗
Source text · @robcohen · · Source ↗
I started this project to create proper formal specifications for plain text accounting formats, covering Beancount, Ledger, and hledger. It includes EBNF/ABNF grammars, JSON Schema and Protobuf AST definitions, tree-sitter grammars, Alloy models for invariants, and conformance test suites. The idea is to make it possible for anyone to build a correct, interoperable PTA implementation without reverse-engineering existing tools.