Changeset - 099b57d4c0d8
[Not reviewed]
0 1 0
simon simon@web - 10 years ago 2014-03-18 14:22:40

Link Hledger
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
GSoC2014Ideas.mdwn
Show inline comments
...
 
@@ -71,36 +71,36 @@ fits your skills and background best when submitting your application.
 
3. Build a better test suite for [Ledger-CLI](http://www.ledger-cli.org/).
 

	
 
   Since this project relies so heavily on Ledger-CLI, we'd really like there
 
   to be a full test coverage for Ledger-CLI.  To do that, a student will
 
   need to be already somewhat familiar C++ and willing to learn about how to
 
   set up test suites for C++ programs, and likes writing tests.  The student
 
   could easily spend the whole summer just writing tests and not finish.
 

	
 
    Ledger-CLI does have a basic test suite, but it might turn out that using
 
    a more "full featured" test harness is useful.  The student will
 
    investigate and discuss this possibility with the mentor.  It would also
 
    be nice if lcov or other test-coverage tool could generate reports
 
    automatically.
 
    
 
    While this project is of primary interest to this project, it will
 
    require careful coordination with Ledger-CLI as an upstream, and we'll
 
    help mentor the student in that.
 
      
 
4. Build a better Python interface to Ledger-CLI for use by our API.
 

	
 
   Right now, Ledger-CLI has a rather incomplete Python interface, based on
 
   [Boost.Python](http://www.boost.org/doc/libs/1_55_0/libs/python/doc/).
 
   However, the right approach is probably to use
 
   [SWIG](http://www.swig.org/) or some other similar mechanism to build a
 
   proper Python API.  Perhaps Ledger-CLI could stick with Boost.Python, but
 
   what's there clearly needs an overhaul.  The upside of using SWIG will be
 
   that we can get APIs for other languages too. 
 

	
 
   While this project is of primary interest to this project, it will require
 
   careful coordination with Ledger-CLI as an upstream, and we'll help mentor
 
   the student in that.
 

	
 
5. Add a JSON/RESTful API to [[Hledger]]'s hledger-web app, mirroring the C++/python API.
 
5. Add a JSON/RESTful API to [Hledger](http://hledger.org)'s hledger-web app, mirroring the C++/python API.
 
    This would provide an alternate, single-language implementation
 
    useful for testing, validation and future-proofing.
 

	
0 comments (0 inline, 0 general)