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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user