okay I'm making my own budgeting software in https://ziglang.org. over the past few days I have:
- defined the data format for transactions histories (tsv files)
- wrote some generic tools for reading and parsing delimiter-separated files (I call them dsv)
- wrote a parser for transactions
- wrote a tool for parsing an arbitrary dsv string into an arbitrary struct, by defining rules for which columns to map to which fields (including merging columns or using alternate date formats)
I'm really enjoying zig! It's definitely taken some brain-bending to get used to writing manually-memory-managed code but now that I'm settling into it I feel like I'm writing much better code than I used to.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!