John Wiegley
|
2d5ad7dee8
|
Added support for value expression definitions.
Example:
] expr f(x) := x + 100
] expr f(100)
200
|
2009-02-08 04:30:05 -04:00 |
|
John Wiegley
|
7594639581
|
Better semantics for the ?: ternary operator.
|
2009-02-08 03:01:51 -04:00 |
|
John Wiegley
|
aebfc92a4d
|
Added debug code to the op_t calculation routine.
|
2009-02-07 23:30:53 -04:00 |
|
John Wiegley
|
0c8970584e
|
Removed handling of the unnused INDEX operator.
|
2009-02-07 18:42:12 -04:00 |
|
John Wiegley
|
011f35b730
|
Implemented expr_context.
|
2009-02-07 04:27:28 -04:00 |
|
John Wiegley
|
682544ef17
|
Refer to empty expression operators as simply NULL.
|
2009-02-07 04:27:04 -04:00 |
|
John Wiegley
|
17c7037da9
|
Correction to debug output.
|
2009-02-07 00:08:08 -04:00 |
|
John Wiegley
|
4854cead4f
|
When recompiled an expr_t, forget old definitions.
|
2009-02-05 02:45:29 -04:00 |
|
John Wiegley
|
2d941730b1
|
Largely removed all of Ledger's use of global variables, for the REPL's sake.
|
2009-02-04 19:55:27 -04:00 |
|
John Wiegley
|
f49dfce302
|
Fixed the processing of O_NOT operations.
|
2009-02-03 18:11:59 -04:00 |
|
John Wiegley
|
3434650848
|
Removed the binary caching code, and the XML, QIF and Gnucash parsers.
|
2009-02-03 12:22:10 -04:00 |
|
John Wiegley
|
bd9ffed9db
|
Calculate the right-hand side O_MATCH, now that masks are values.
|
2009-02-02 15:17:02 -04:00 |
|
John Wiegley
|
9540406af1
|
Simplified error context handling.
|
2009-02-02 00:24:26 -04:00 |
|
John Wiegley
|
fb5428ce85
|
Added support for metadata and tagging, and made regexs a first-class type.
|
2009-02-01 22:10:32 -04:00 |
|
John Wiegley
|
cadb02c257
|
Fixed a display problem when dumping O_MATCH expressions.
|
2009-02-01 18:36:40 -04:00 |
|
John Wiegley
|
c5795c66c9
|
"div", or "//", is now the operator of division.
|
2009-01-31 01:21:14 -04:00 |
|
John Wiegley
|
00fdadedcc
|
Removed extraneous parentheses.
|
2009-01-23 01:09:31 -04:00 |
|
John Wiegley
|
5ba81765ea
|
Added some debug code.
|
2009-01-23 01:09:23 -04:00 |
|
John Wiegley
|
7b76ea5cbc
|
Errors while calculating value expressions now display meaningful error
context.
|
2009-01-22 18:54:24 -04:00 |
|
John Wiegley
|
965df4a404
|
Whitespace changes.
|
2009-01-22 18:53:08 -04:00 |
|
John Wiegley
|
ccedf7d57f
|
Parse != as !(==) and !~ as !(=~), for simplicity's sake.
|
2009-01-22 16:25:51 -04:00 |
|
John Wiegley
|
887828a40c
|
Increased copyright range to include 2009.
|
2009-01-20 01:53:31 -04:00 |
|
John Wiegley
|
72c09cc0bf
|
Generate a better error if a function operand is invalid.
|
2009-01-19 22:29:36 -04:00 |
|
John Wiegley
|
660c40a6d3
|
Corrected several assertions which could occur when using unary operators and
unresolved identifiers.
|
2008-09-16 05:04:21 -04:00 |
|
John Wiegley
|
08488d4cd7
|
Removed more dead code and todo comments, and made it possible to stream
compiled value expressions.
|
2008-08-17 04:41:02 -04:00 |
|
John Wiegley
|
891d7b87c8
|
Removed some dead code and updated the binary streaming code for op_t and
value_t.
|
2008-08-17 03:15:57 -04:00 |
|
John Wiegley
|
fd2e6c2502
|
Ledger now builds without any significant warnings, except for one file. Some
of the warnings had to be temporarily disabled, but will be checked again once
the code has moved into master.
|
2008-08-10 02:52:38 -04:00 |
|
John Wiegley
|
f6f4a46cf5
|
Moved around most of the files so that source code is in src/, documentation
is in doc/, etc.
|
2008-08-05 18:05:49 -04:00 |
|