Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year | Alexis Hildebrandt | 2023-02-02 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Update copyright statement for 2022 | Alexis Hildebrandt | 2022-07-02 | 1 | -1/+1 |
| | |||||
* | Fix typos in comments | Martin Michlmayr | 2020-05-21 | 1 | -1/+1 |
| | |||||
* | Drop support for gcc 2 and earlier | Tim Landscheidt | 2019-01-25 | 1 | -2/+2 |
| | |||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2018-01-27 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2017-01-05 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [misc] Update year in copyright notice to 2016 | Alexis Hildebrandt | 2016-01-02 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Bump copyright notice to 2015 | Alexis Hildebrandt | 2014-12-27 | 1 | -1/+1 |
| | | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/" | ||||
* | Bump copyright information to 2014 | Alexis Hildebrandt | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Bump copyright information to 2013 | John Wiegley | 2013-02-18 | 1 | -1/+1 |
| | |||||
* | Converted the Ledger build system to use CMake | John Wiegley | 2012-05-20 | 1 | -6/+6 |
| | |||||
* | Switch to using Boost.Format | John Wiegley | 2012-05-14 | 1 | -11/+11 |
| | |||||
* | Added a syntax error check | John Wiegley | 2012-03-13 | 1 | -0/+3 |
| | |||||
* | Made split_cons_expr a global function | John Wiegley | 2012-03-13 | 1 | -21/+21 |
| | |||||
* | Improve error reporting of nested function calls | John Wiegley | 2012-03-11 | 1 | -6/+7 |
| | |||||
* | Many improvements to lambdas and function calling | John Wiegley | 2012-03-08 | 1 | -129/+211 |
| | |||||
* | More work done on proper evaluation of lambdas | John Wiegley | 2012-03-07 | 1 | -17/+25 |
| | |||||
* | Many options now have additive effect | John Wiegley | 2012-03-07 | 1 | -8/+9 |
| | | | | | | | | | For example, -A and -V used to override each other, whereas now: -A report the average amount -V report all amounts at current value -AV report the current value of the average -VA report the average of all current values | ||||
* | Fixed parameter and argument scoping for O_CALL nodes | John Wiegley | 2012-03-07 | 1 | -15/+50 |
| | |||||
* | Dump IDENT referral values in op_t::dump | John Wiegley | 2012-03-07 | 1 | -1/+1 |
| | |||||
* | Corrected several compile and link problems | John Wiegley | 2012-03-06 | 1 | -0/+10 |
| | |||||
* | Generalized function call parsing | John Wiegley | 2012-03-05 | 1 | -7/+12 |
| | | | | | | Directly calling a lambda now works: (x -> x + 10)(10) => 20 | ||||
* | Added an assert | John Wiegley | 2012-03-05 | 1 | -0/+2 |
| | |||||
* | Fixed invocation of lambda expressions | John Wiegley | 2012-03-05 | 1 | -1/+1 |
| | | | | | | | | | foo = x, y, z -> print(x, y, z) foo(1, 2, 3) However, this still does not work: (x, y, z -> print(x, y, z))(1, 2, 3) | ||||
* | Provide more context if a valexpr function call fails | John Wiegley | 2012-03-01 | 1 | -5/+12 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Corrected handling of nested definitions | John Wiegley | 2012-02-21 | 1 | -20/+53 |
| | |||||
* | The new SCOPE mechanism is working | John Wiegley | 2012-02-21 | 1 | -82/+57 |
| | |||||
* | Introduced a new SCOPE expression terminal | John Wiegley | 2012-02-20 | 1 | -36/+57 |
| | |||||
* | Do not evaluate strings as booleans | John Wiegley | 2012-02-11 | 1 | -1/+1 |
| | |||||
* | Cleanup whitespace | John Wiegley | 2011-08-18 | 1 | -1/+1 |
| | |||||
* | Changed an assert into a proper exception | John Wiegley | 2011-07-17 | 1 | -3/+1 |
| | |||||
* | O_DEFINE operator should always return NULL_VALUE | John Wiegley | 2011-07-17 | 1 | -0/+5 |
| | |||||
* | Added some debug code | John Wiegley | 2011-02-10 | 1 | -0/+24 |
| | |||||
* | Added initial support for lambda functions | John Wiegley | 2010-09-06 | 1 | -11/+21 |
| | |||||
* | Minor simplifications to valexpr parser | John Wiegley | 2010-09-05 | 1 | -34/+11 |
| | | | | | The most significant change is the way CONS sequences are parsed, and that now instead of =/:=, the operators are ==/=. | ||||
* | Generalized the semantics of FOO.BAR in valexprs | John Wiegley | 2010-06-24 | 1 | -17/+7 |
| | | | | | | | | | | | | | Previously, FOO was evaluated to return a scope, and BAR was an identifier looked up in that scope. However, this prevented scope-local functions from being called (since that is a CALL, not a plain IDENT). Now the meaning of the "." operator is that it evaluates the left operand in a scope type context, pushes that scope as the current object context, and then evaluates BAR in that context. Thus the bare word "amount" in an account context calls the same function that "account.amount" would if evaluated in a posting context. | ||||
* | Fixed how valexpr function defs and calls work | John Wiegley | 2010-06-24 | 1 | -15/+32 |
| | |||||
* | Changes for building with Visual Studio 2008 | John Wiegley | 2010-06-15 | 1 | -1/+1 |
| | |||||
* | Report error context in expressions more precisely | John Wiegley | 2010-06-13 | 1 | -3/+3 |
| | |||||
* | Completely reworked argument passing in expressions | John Wiegley | 2010-06-13 | 1 | -36/+16 |
| | |||||
* | If a type context exists, confirm the result matches | John Wiegley | 2010-06-13 | 1 | -0/+15 |
| | |||||
* | Expression evaluations now have a "type context" | John Wiegley | 2010-06-13 | 1 | -6/+9 |
| | | | | | | | | | Thus, an expression can know if the context in which it's being evaluated requires a string, and if so, determine it's output accordingly. For example: account ; returns the full name of the posting's account account.total ; here the context is SCOPE, so account is an obj | ||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -109/+109 |
| | |||||
* | Allow opt -NDEBUG build to complete without warnings | John Wiegley | 2010-06-04 | 1 | -0/+2 |
| | |||||
* | Added O_EXPAND operator, to handle macros | John Wiegley | 2010-05-08 | 1 | -3/+49 |
| | |||||
* | Updated copyrights to 2003-2010 | John Wiegley | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Many improvements to Ledger's Python bindings | John Wiegley | 2009-11-19 | 1 | -1/+1 |
| | |||||
* | Fixes to the value expression parser and evaluator | John Wiegley | 2009-11-10 | 1 | -45/+46 |
| | |||||
* | Segregated symbols into 5 separate namespaces | John Wiegley | 2009-11-04 | 1 | -6/+8 |
| | | | | | | | | | | | | | | | | | | | | | The different namespaces are: Function Value expression functions, which receive a "context" Option Command-line options Precommand Commands which are invoked before reading the journal Command Commands which are invoked after reading the journal Directive Directives that occur at column 0 in a data file This greatly eases the ability for Python uses to add intercept hooks to change how the basic Ledger module functions. An example of what should be possible soon: import ledger def my_foo_handler(value): print "--foo received:", value ledger.add_handler(ledger.Option, "foo=", my_foo_handler) |