summaryrefslogtreecommitdiff
path: root/src/op.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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.