Re: How to use ledger-cli in a Rust project? (A rust GTK ledger desktop app)

2018-04-29 Thread Colin Dean
I've been closely watching for someone to start making ledger-cli bindings for Rust. I investigated doing it myself and reasoned that it would be a very large undertaking that would likely involve significant changes to the C++ code to accommodate the port. Most of the work would be around impl

Re: How to use ledger-cli in a Rust project? (A rust GTK ledger desktop app)

2018-04-29 Thread Jacob MacDonald
I'm no C++ or Rust guru, but as far as I know C++ bindings are far harder to generate than simple C ones. One advantage you do have is that Rust uses LLVM, so maybe you'll have luck using a Clang stack to build a shared Ledger library with sensible bindings? The Graal project on the JVM also has so

How to use ledger-cli in a Rust project? (A rust GTK ledger desktop app)

2018-04-29 Thread adriantovick
I am trying to create a rust GTK ledger desktop app. I love ledger simplicity and flexibility, and the fact that everything is stored in a simple, readable text file. But I want to keep some reports and operations handy, and I think a GTK desktop app will be perfect for that. I want to practise