Commit graph

5408 commits

Author SHA1 Message Date
Paul Beckingham
24219e23a1 CLI
- Renamed unsweeten methods to desugar, because they remove syntactic sugar.
2014-10-20 00:35:00 -04:00
Paul Beckingham
caaa07f889 CLI
- Implemented ::unsweetenIDs.
2014-10-20 00:26:00 -04:00
Paul Beckingham
97f302f276 CLI
- Added constructors to match the overloaded ::attribute methods.
2014-10-20 00:22:47 -04:00
Paul Beckingham
c8f49bcafb CLI
- Added comma (,) to the set of acceptable characters for a UUID list.
2014-10-20 00:22:02 -04:00
Paul Beckingham
7f61bcecca CLI
- Implemented ::unsweetenUUIDs.
2014-10-19 23:42:16 -04:00
Paul Beckingham
60d356f009 CLI
- Stubbed ::unsweetenUUIDs.
2014-10-19 23:18:25 -04:00
Paul Beckingham
c4bb9fbc96 CLI
- Stubbed ::unsweetenIDs.
2014-10-19 23:17:49 -04:00
Paul Beckingham
83ab844ba4 CLI
- ::unsweetenPatterns no longer clobbers non-FILTER args.
2014-10-19 18:19:27 -04:00
Paul Beckingham
f809f2d819 CLI
- ::unsweetenAttributeModifiers no longer clobbers non-FILTER args.
2014-10-19 18:19:09 -04:00
Paul Beckingham
720cc57192 CLI
- ::unsweetenAttributes no longer clobbers non-FILTER args.
2014-10-19 18:18:48 -04:00
Paul Beckingham
f862ad15e6 CLI
- ::unsweetenTags no longer clobbers non-FILTER args.
2014-10-19 18:18:03 -04:00
Paul Beckingham
cd8f7ddac4 CLI
- Can now safely re-analyze command line if something changes. This required a
  ::analzye method to be called late in Context::initialize.
2014-10-19 17:59:51 -04:00
Paul Beckingham
171fabbcda CLI
- Corrected comment to include quotes that are necessary for patterns.
2014-10-17 16:32:11 -04:00
Paul Beckingham
8d359ddd70 CLI
- Implemented ::unsweetenPatterns.
2014-10-16 00:53:59 -04:00
Paul Beckingham
932865d3b5 CLI
- Renamed unsweetenAtts to unsweetenAttributes, unsweetenAttMods to
  unsweetenAttributeModifiers.
2014-10-16 00:39:56 -04:00
Paul Beckingham
0603711aac CLI
- Implemnted ::unsweetenAttMods.
2014-10-16 00:37:48 -04:00
Paul Beckingham
80b385ee93 CLI
- Renamed 'canonical' to 'name', for legacy reasons.
2014-10-16 00:36:52 -04:00
Paul Beckingham
9f8c4e02a7 CLI
- Implemented ::getFilter to extract all the non-PSEUDO, FILTER items.
2014-10-15 07:42:29 -04:00
Paul Beckingham
8afb39dea6 CLI
- Implemented ::unsweetenAtts to resolve syntactic sugar to an expression.
2014-10-15 07:34:29 -04:00
Paul Beckingham
f29b6a4be4 CLI
- Convert ::unsweetenTags from _filter to _args.
2014-10-15 02:34:44 -04:00
Paul Beckingham
ae4272f477 CLI
- When unsweetening tags, preserve the FILTER tag.
2014-10-15 02:33:50 -04:00
Paul Beckingham
8dd9082697 CLI
- Categorize has a better definition of FILTER.
2014-10-15 02:32:32 -04:00
Paul Beckingham
83898359e3 CLI
- Combined all elements into the single _args list.
2014-10-15 02:24:35 -04:00
Paul Beckingham
dd8391351d CLI
- Merged _program into _args.
- Merged _overrides into _args.
- Rewrote :extractOverrides as ::findOverrides.
2014-10-15 02:08:48 -04:00
Paul Beckingham
c3f7524006 CLI
- Now only dumps the parse tree on ::getFilter.
2014-10-15 01:47:36 -04:00
Paul Beckingham
295feda3b4 Parser
- Corrected findTags comment.
2014-10-15 01:44:21 -04:00
Paul Beckingham
698c801dbc CLI
- Converted _command from std::string to A.
2014-10-15 01:43:27 -04:00
Paul Beckingham
e5780474da CLI
- Converted _program from std::string to A.
2014-10-15 01:34:36 -04:00
Paul Beckingham
b3b509eabe CLI
- Added default constructor, so it plays nice with others.
- Added ::clear method to reset all members.
2014-10-15 01:33:12 -04:00
Paul Beckingham
6388d3827b CLI
- Converted from std::string to A.
2014-10-15 01:24:02 -04:00
Paul Beckingham
854dc08615 CLI
- Upgraded _args vector from std::string to A.
2014-10-15 01:08:44 -04:00
Paul Beckingham
87ece489db CLI
- Implemented A::dump.
2014-10-15 00:35:46 -04:00
Paul Beckingham
b98da56a7c CLI
- Implemented A class, to represent a single argument. Much like a tree node.
2014-10-15 00:28:16 -04:00
Paul Beckingham
8b78251735 CLI
- Filter elements are now rendered on one line in ::dump.
2014-10-15 00:27:43 -04:00
Paul Beckingham
c2f8c81a88 CLI
- Implemented ::unsweetenTags, which resolves the syntactic sugar to an expression.
2014-10-15 00:02:45 -04:00
Paul Beckingham
34fd7b4b04 CLI
- Relocated public methods to top.
- Removed const for methods, which are no longer const.
2014-10-14 23:49:13 -04:00
Paul Beckingham
f353e1f3d5 CLI
- Removed reset of _program on ::add, which never gets restored.
2014-10-14 23:40:13 -04:00
Paul Beckingham
d6e11761a6 CLI
- Added diagnostics only to ::initialize and ::add.
- Now properly clears and regenerates all data on change.
2014-10-14 23:26:12 -04:00
Paul Beckingham
7812bce079 CLI
- Reorganized methods to match header sequence.
2014-10-14 23:25:26 -04:00
Paul Beckingham
6d64472826 Context
- Removed calls to now-private methods.
2014-10-14 23:23:09 -04:00
Paul Beckingham
51a98609d9 CLI
- Stubbed ::getWords and ::getModifications.
2014-10-14 23:22:25 -04:00
Paul Beckingham
54d975dac3 CLI
- Colㄡrized the ::dump output.
2014-10-14 01:52:39 -04:00
Paul Beckingham
05fdfafd2a CLI
- Preserves original args.
2014-10-14 01:42:37 -04:00
Paul Beckingham
99ff5cd372 CmdCustom
- Added parallel cli handling.
2014-10-14 01:36:20 -04:00
Paul Beckingham
c79a09d0b8 CLI
- Implemented ::add.
2014-10-14 01:35:33 -04:00
Paul Beckingham
acca1c66a3 CLI
- Implemented ::getFilter.
2014-10-14 01:23:55 -04:00
Paul Beckingham
d32b6fff12 CLI
- Improved diagnostics, for now.
2014-10-14 01:03:15 -04:00
Paul Beckingham
632cb3e194 Context
- Now calls aliasExpansion and categorization.
2014-10-14 00:59:33 -04:00
Paul Beckingham
2c3f12ae79 CLI
- Added more members to the ::dump method.
2014-10-14 00:59:07 -04:00
Paul Beckingham
c54e0d6d05 CLI
- Added new data to ::dump.
2014-10-14 00:49:15 -04:00