| Crates.io | hledger-parser |
| lib.rs | hledger-parser |
| version | 1.0.0-beta.2 |
| created_at | 2024-10-27 20:05:38.514833+00 |
| updated_at | 2024-11-04 20:25:38.495832+00 |
| description | Hledger jornal parser |
| homepage | |
| repository | https://github.com/ngalaiko/hledger-desktop |
| max_upload_size | |
| id | 1424930 |
| size | 167,492 |
parser for hledger journals powered by chumsky
public beta
it's able to parse cheatsheet and my personal ledger (which is quite extensive)
i don't like the api so far, so it will probably change
things i don't like:
a small binary comes with this lib that i found helpful during development and testing
it takes path to a .journal file, and outputs parse result or parsing error
> cargo run --features cli -- --help
Usage: hledger-parser --ledger-file <LEDGER_FILE>
Options:
--ledger-file <LEDGER_FILE> [env: LEDGER_FILE=/path/to/ledger.journal]
-h, --help Print help