Expressions reboot

- Created A3.{h,cpp} which will be a simpler, lightweight version of
  Arguments.{h,cpp} that does less, but does it better.
- Created E9.{h,cpp} which will be a better implementation of
  Expression.{h,cpp} that does less, but does it better.
- Integrated A3 into Context::initialize, and Arguments and A3 will
  coexist until A3 surpasses Arguments.
This commit is contained in:
Paul Beckingham 2011-07-23 13:38:33 -04:00
parent 1164ea5cf1
commit 5b5978952a
8 changed files with 2839 additions and 14 deletions

View file

@ -40,6 +40,7 @@
#include <File.h>
#include <Directory.h>
#include <Arguments.h>
#include <A3.h>
class Context
{
@ -59,6 +60,7 @@ public:
int getHeight (); // determine terminal height
const std::vector <std::string> getColumns () const;
const std::vector <std::string> getCommands () const;
bool color (); // TTY or <other>?
bool verbose (const std::string&); // Verbosity control
@ -81,6 +83,7 @@ private:
public:
std::string program;
Arguments args;
A3 a3;
std::string home_dir;
File rc_file;
Path data_dir;