Expressions

- Began Expression::toInfix to upgrade old-style filters to infix
  algebraic filters.
- Added operator support to Arguments::categorize.
- Modified CmdCustom.cpp as a read-only command guinea-pig for the
  new argument processing.
This commit is contained in:
Paul Beckingham 2011-06-05 13:43:32 -04:00
parent 68a749ee16
commit 86dcec8aea
6 changed files with 98 additions and 11 deletions

View file

@ -95,6 +95,10 @@ int CmdCustom::execute (std::string& output)
////////////////////////////////////
Arguments f = context.args.extract_read_only_filter ();
Expression e (f);
e.toInfix ();
e.toPostfix ();
return 0;
// TODO e.apply (tasks);
////////////////////////////////////