-- added fancybox 1.3.1 to project, initially for showing screenshots. See documentat...
[Bookkeeping.git] / doc / BookkeepingSyntax.regex.xml
blobd36d35c10e67b52fdae068d3adecf6172608536a
3 TERMINALS
11 COMMANDS
13 create          (token -opts(token.literal,...))
15 add             ((token.literal) token.literal,...)
17 remove          ((token.literal) token.literal,...)
19 reverse         ((token.literal) token.literal,...)
21 find            (token -opts)
23 load            (token -opts)
25 list            (token -opts)
27 login
29 logout
31 exit
37 TOKENS
39 * tokens without options can go in their XML parents. they represent raw XML and can 
41 be substituted with a command that returns XML.
45 debit -entry -account -amount           --> (create / find / list)
47 debit -id                                                       --> (load)
49 debit
51         SAMPLE:         debit -entry 32 -account expenses -amount '10.00'
57 credit -entry -account -amount          --> (create / find / list)
59 credit -id                                                      --> (load)
61 credit
67 entry -entrynum -journal -date          --> (create / find / list)
69 entry -id                                                       --> (load)
71 entry
77 journal -name(entry,entry,...)          --> (create / load / find / list)
79 journal -id                                                     --> (load)
81 journal
87 transaction -name(entry,entry,...)      --> (create/find/list)
89 transaction -id                                         --> (load)
91 transaction
97 account -name -type -counterweight(debit,...)           --> (create,find,list)
99 account -name -type -counterweight(credit,...)          --> (create,find,list)
101 account -id                                                                                     --> (load)
103 account -name                                                                           --> (load)
105 account 
115 -entry [A-Z-az0-9]*
117 -account [A-Za-z0-9]*
119 -journal [A-Za-z0-9]*
121 -name [A-Za-z0-9]*
123 -type [A-Za-z0-9]*
125 -counterWeight [[a-z]{5,6}]*
127 -amount [[0-9]+\.[0-9]+]*
129 -id [A-Z-az0-9]*
131 -entrynum [0-9]*
133 -date [[0-9]{1,2}/[0-9]{1,2}/[0-9]{4}]*
135 -F [A-Z-az0-9]*
143 (debit[,]?)*
145 (credit[,]?)*
147 (entry[,]?)*