This is a sum calculator for my spending. It implements a simple text format I came up with; Lines include the amount and some notes, divided simply by whitespace. Since it is a calculator for spending, amounts are implicitly negative, there is no need for prefixing them with the minus sign "-". In fact, you should not do that. If there is an amount I get my hands on, I'll prefix it with the plus sign "+" explicitly. All other lines, which do not begin with a digit or plus sign, are ignored and serve as additional information for me.
This is an example of my list [ignored]
[blank line ignored]
5 bread [implicitly negative]
2 ice cream
+10 pocket money [added, not subtracted]
(2) donation [this will not count]
Balance: