Commit graph

5793 commits

Author SHA1 Message Date
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
Wilhelm Schuermann
ae9705561c Hooks
- Throw exception instead of segfaulting for on-add hooks not adhering to the specs. More work needed.
2014-10-14 15:58:24 -04:00
Renato Alves
1e14097ea5 Unittest - Add test to tw-252 to prevent future regressions 2014-10-14 15:22:52 +01: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
Paul Beckingham
343a79a034 CLI
- Implemented ::categorize.
2014-10-14 00:49:02 -04:00
Paul Beckingham
58afe23952 CLI
- Implemented ::aliasExpansion.
2014-10-14 00:47:02 -04:00
Paul Beckingham
4d921c7920 CLI
- Implemented ::canonicalize.
2014-10-14 00:45:53 -04:00
Paul Beckingham
227e0bd8c8 CLI
- Implemented ::exactMatch.
2014-10-14 00:45:04 -04:00
Paul Beckingham
b0cf4adc4e CLI
- Stubbed methods for further parsing.
2014-10-14 00:43:50 -04:00
Paul Beckingham
1639e6bb68 CLI
- Stubbed ::aliasExpansion.
- Fixed variable types.
- Added ::dump calls.
2014-10-14 00:09:47 -04:00
Paul Beckingham
9a2bcbed3e CLI
- Added ::dump for diagnostics.
2014-10-14 00:08:55 -04:00
Paul Beckingham
f4183fd6b1 Context
- Added CLI rc: and rc. override extraction.
2014-10-13 23:54:16 -04:00
Paul Beckingham
226c143922 CLI
- Override detection and extraction.
2014-10-13 23:52:50 -04:00
Paul Beckingham
c73e864cdd Context
- CLI is initialized with command line args.
2014-10-13 23:24:08 -04:00
Paul Beckingham
64d4d659ef CLI
- ::initialize captures all args.
2014-10-13 23:23:45 -04:00
Paul Beckingham
df54b8ee43 Context
- Integrated new CLI object.
- Provided aliases and entities to CLI.
2014-10-13 23:18:14 -04:00
Paul Beckingham
3b0606922f CMake
- Added new CLI class.
2014-10-13 23:17:20 -04:00
Paul Beckingham
8bb17fb2e8 CLI
- CLI is a streamlined version of Parser, now that wisdom is upon us.
2014-10-13 23:11:46 -04:00
Paul Beckingham
8905dd1c32 Eval
- The operator classifier failed to include '!=='.
2014-10-13 21:39:51 -04:00