summaryrefslogtreecommitdiff
path: root/src/parser.cc
Commit message (Collapse)AuthorAgeFilesLines
* Added ; as a sequencing operator in valexprsJohn Wiegley2009-03-031-2/+5
|
* Fixed parsing of '(1, 2, (3, 4))'John Wiegley2009-03-031-0/+9
|
* Made error reporting while parsing more resilientJohn Wiegley2009-03-031-6/+6
|
* Added Python-style if/else expression keywordsJohn Wiegley2009-03-031-1/+35
|
* Corrected warnings g++-4.3.3 was complaining aboutJohn Wiegley2009-02-281-1/+3
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-13/+13
| | | | | | | | | | | | | | | | 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-2/+3
| | | | | | 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.
* Parse '/' in an operator context as "div"John Wiegley2009-02-151-12/+13
|
* Fixed the operator precedence of several operators.John Wiegley2009-02-091-100/+115
|
* Removed reference to session_t from the iterators module.John Wiegley2009-02-091-12/+14
|
* Added support for value expression definitions.John Wiegley2009-02-081-0/+3
| | | | | | | | Example: ] expr f(x) := x + 100 ] expr f(100) 200
* Better semantics for the ?: ternary operator.John Wiegley2009-02-081-6/+8
|
* Added support for metadata and tagging, and made regexs a first-class type.John Wiegley2009-02-011-8/+28
|
* Revised the way that parsing flags get passed around.John Wiegley2009-01-291-29/+28
|
* Removed some extraneous code.John Wiegley2009-01-221-6/+4
|
* Correctly report the line context when there is a valexpr parsing error.John Wiegley2009-01-221-4/+14
|
* Allow function calls without arguments in the parser.John Wiegley2009-01-221-14/+3
|
* Corrected a parse-time optimization of "! CONSTANT".John Wiegley2009-01-221-1/+1
|
* Redid the way command-line arguments are processed. Before, Ledger used - andJohn Wiegley2009-01-221-2/+14
| | | | | | | | | | | | | | | -- to mean special things after the command verb was seen. But now, what used to be specified as this: ledger -n reg cash -payable -- shell Is now specified as this: ledger reg -n cash not payable @shell It could also be specified as: ledger -n reg \(cash and not payable\) and @shell
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Fixes to the way that EXPR_PARSE_SINGLE behaves.John Wiegley2008-09-151-14/+12
|
* Fixed the way that nested caught exceptions are rethrown, and how valueJohn Wiegley2008-09-151-6/+9
| | | | expressions are displayed when errors are found in them.
* Added value expression parsing flag EXPR_PARSE_SINGLE, which means to readJohn Wiegley2008-09-141-4/+5
| | | | | | only a single expression and then quit immediately. Useful for parsing expressions that begin with a left parenthesis and are known to end at the right parenthesis.
* Ledger now builds without any significant warnings, except for one file. SomeJohn Wiegley2008-08-101-1/+1
| | | | | of the warnings had to be temporarily disabled, but will be checked again once the code has moved into master.
* Removed all use of USE_BOOST_PYTHON from the main Ledger sources. When PythonJohn Wiegley2008-08-081-32/+0
| | | | | support is enabled for use within Ledger, it will do so through the current scoping mechanism.
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+441
is in doc/, etc.