Bookkeeping Release Pre-Alpha

Share

'Bookkeeping' is finally here. It can be downloaded from Bob's sourceforge account. Remember that an EOF character must be entered at the end of an expression. So on a Mac, enter "create ( debit ); Ctrl-D Ctrl-D", and on a DOS prompt, enter "create ( debit ); Ctrl-M Ctrl-Z Enter" (Annoying, but I have to wait for the next version of SableCC to fix this). 'test/bk/expSaifHussain.bk' is an example script you can use for executing commands. Try it out by configuring and running the bkell.
./configure.sh
./bkell.sh


Here's an example session loading a preconfigured debit, and printing out what's in memory. Notice the system variables @previous and @memory.

Running the Bookkeeping Shell 'bkell'
>



load ( debit -id abc );>
print ( @previous );
< debit xmlns=' com/interrupt/bookkeeping/account ' id='abc' amount='10.00' entryid='e1' accountid='1' account='' />>


print ( @memory );
< command:memory xmlns:command=' com/interrupt/bookkeeping/cc/bkell/command ' xmlns:bkell=' com/interrupt/bookkeeping/cc/bkell ' xmlns:account=' com/interrupt/bookkeeping/account ' xmlns:users=' com/interrupt/bookkeeping/users ' xmlns:journal=' com/interrupt/bookkeeping/journal ' id='main.memory' >< variable xmlns=' com/interrupt/bookkeeping/cc/bkell/command ' name='' />< variable xmlns=' com/interrupt/bookkeeping/cc/bkell/command ' name='previous' >< debit xmlns=' com/interrupt/bookkeeping/account ' id='abc' amount='10.00' entryid='e1' accountid='1' account='' />

>


If you want to recompile Bookkeeping, use the below command :
ant clean compile-src release


Enjoy

Posted by  on 2007.04.08| Original post

#archive #frye #thebox