summaryrefslogtreecommitdiff
path: root/src/op.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Change the value_t::POINTER type to value_t::SCOPEJohn Wiegley2009-10-301-3/+3
| | | | | scope_t pointers are the only kind that are ever stored in value objects, so there was no need to make it generic and use boost::any.
* Output pointer values correctly for 64-bit systemsJohn Wiegley2009-10-271-1/+1
|
* Improved debug output of "--debug expr.calc"John Wiegley2009-10-251-38/+61
|
* Split commodity.h/cc into three filesJohn Wiegley2009-06-241-0/+1
| | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management
* Restored --percent option, added baseline testJohn Wiegley2009-06-211-4/+9
|
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-0/+1
|
* Added ; as a sequencing operator in valexprsJohn Wiegley2009-03-031-0/+46
|
* Fixed parsing of '(1, 2, (3, 4))'John Wiegley2009-03-031-1/+0
|
* Fixed the printing of O_CONS nodesJohn Wiegley2009-02-281-14/+25
|
* Corrected output of O_CALL nodesJohn Wiegley2009-02-271-3/+5
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-8/+8
| | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install".
* Renamed O_COMMA to O_CONS, and changed semanticsJohn Wiegley2009-02-231-26/+47
| | | | | | In the old scheme, nested values would simply flatten and concatenate, so that '((1, 2), 3) = (1, 2, 3)'. Now sublists are preserved, so that sequences may be passed as arguments to functions.
* Restored the --budget optionJohn Wiegley2009-02-201-1/+1
|
* Parse '/' in an operator context as "div"John Wiegley2009-02-151-1/+1
|
* Changed debug category op.calc to expr.calcJohn Wiegley2009-02-151-2/+2
|
* Removed an excessive error check.John Wiegley2009-02-121-3/+0
|
* Revert "If a valexpr identifier is unknown at calc time, re-compile at that ↵John Wiegley2009-02-091-5/+2
| | | | | | point." This reverts commit 4a463aca3bece8f2beb68b0fc4d347a713ff07a6.
* If a valexpr identifier is unknown at calc time, re-compile at that point.John Wiegley2009-02-091-2/+5
|
* Perhaps expr_t objects to remember their scope "context".John Wiegley2009-02-081-31/+31
|
* Added support for value expression definitions.John Wiegley2009-02-081-12/+78
| | | | | | | | Example: ] expr f(x) := x + 100 ] expr f(100) 200
* Better semantics for the ?: ternary operator.John Wiegley2009-02-081-0/+33
|
* Added debug code to the op_t calculation routine.John Wiegley2009-02-071-30/+58
|
* Removed handling of the unnused INDEX operator.John Wiegley2009-02-071-18/+0
|
* Implemented expr_context.John Wiegley2009-02-071-1/+2
|
* Refer to empty expression operators as simply NULL.John Wiegley2009-02-071-2/+1
|
* Correction to debug output.John Wiegley2009-02-071-1/+1
|
* When recompiled an expr_t, forget old definitions.John Wiegley2009-02-051-1/+5
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-41/+26
|
* Fixed the processing of O_NOT operations.John Wiegley2009-02-031-4/+6
|
* Removed the binary caching code, and the XML, QIF and Gnucash parsers.John Wiegley2009-02-031-76/+0
|
* Calculate the right-hand side O_MATCH, now that masks are values.John Wiegley2009-02-021-1/+3
|
* Simplified error context handling.John Wiegley2009-02-021-3/+2
|
* Added support for metadata and tagging, and made regexs a first-class type.John Wiegley2009-02-011-44/+53
|
* Fixed a display problem when dumping O_MATCH expressions.John Wiegley2009-02-011-2/+1
|
* "div", or "//", is now the operator of division.John Wiegley2009-01-311-1/+1
|
* Removed extraneous parentheses.John Wiegley2009-01-231-2/+1
|
* Added some debug code.John Wiegley2009-01-231-7/+9
|
* Errors while calculating value expressions now display meaningful errorJohn Wiegley2009-01-221-46/+107
| | | | context.
* Whitespace changes.John Wiegley2009-01-221-3/+5
|
* Parse != as !(==) and !~ as !(=~), for simplicity's sake.John Wiegley2009-01-221-12/+0
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Generate a better error if a function operand is invalid.John Wiegley2009-01-191-2/+1
|
* Corrected several assertions which could occur when using unary operators andJohn Wiegley2008-09-161-10/+12
| | | | unresolved identifiers.
* Removed more dead code and todo comments, and made it possible to streamJohn Wiegley2008-08-171-4/+11
| | | | compiled value expressions.
* Removed some dead code and updated the binary streaming code for op_t andJohn Wiegley2008-08-171-661/+58
| | | | value_t.
* Ledger now builds without any significant warnings, except for one file. SomeJohn Wiegley2008-08-101-1/+2
| | | | | of the warnings had to be temporarily disabled, but will be checked again once the code has moved into master.
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+1130
is in doc/, etc.