beancount-parser-lima 0.16.2

A zero-copy parser for Beancount
Documentation
# ANOMALY: Lima parser is robust to varying levels of indentation,
# so succeeds in parsing this input
directives {
  date { year: 2013 month: 5 day: 18 }
  meta {
    kv { key: "test1" value { text: "Something" } }
  }
  transaction {
    flag: "*"
    postings {
      account: "Assets:Investments:MSFT"
      spec {
        units { number { exact: "10" } currency: "MSFT" }
        price { number { exact: "2000" } currency: "USD" is_total: true }
      }
      meta {
        kv { key: "test2" value { text: "has" } }
        kv { key: "test3" value { text: "to" } }
      }
    }
    postings {
      account: "Assets:Investments:Cash"
      spec { units { number { exact: "-20000" } currency: "USD" } }
      meta {
        kv { key: "test4" value { text: "come" } }
        kv { key: "test5" value { text: "from" } }
        kv { key: "test6" value { text: "this" } }
      }
    }
  }
}