summaryrefslogtreecommitdiff
path: root/clformat/src/main/java/bjc/utils
AgeCommit message (Collapse)Author
2020-01-04Implement use of GroupDecree for CaseDirectivebculkin2442
This begins the work of using GroupDecree for reading in groups.
2020-01-04More work on group decree refactorbculkin2442
The previous version had some places where it wasn't right. This does the rest of the ground work that it seemed needed to be done.
2020-01-04Begin refactoring of group decree parsingbculkin2442
This begins the refactoring of how 'group' decrees (like ~{, and ~[) are parsed. This commit contains the infrastructure for doing so, but none of the actual group decrees have been changed yet to use it.
2019-12-18Remove now boiler-plate implementation of format()bculkin2442
This removes the implementation of format() that was currently in each of the directives, by pulling it out into the super-interface. This marks the general completion of the switch from the old interpreted style using just the directives, to a new one using the set of Decree/Directive/Edict interfaces
2019-12-17Clean up missing bit in RecursiveDirectivebculkin2442
2019-12-17Switch over IterationDirectivebculkin2442
2019-12-17Switch over InflectDirectivebculkin2442
2019-12-17Switch over ConditionalDirectivebculkin2442
2019-12-17Begin switch to CLString (CaseDirective)bculkin2442
Begin the switch to using CLString whenever we would previously re-compile a body every time. This one is a little infrastructure, and the changes to CaseDirective
2019-10-12Swap tests to using compilation.bculkin2442
Tests now the compilation feature, so that is being tested thoroughly. Now to get to going through and switching all the directives that use strings to use CLStrings instead
2019-10-02More compilation workBenjamin J. Culkin
2019-08-17Implement compilation for TabulateDirectiveBenjamin J. Culkin
2019-08-14Implement compilation of RecursionDirectiveBenjamin J. Culkin
2019-08-13Implement compilation for IterationDirectiveBenjamin J. Culkin
2019-08-13Remove old format code from IndentDirectiveBenjamin J. Culkin
2019-08-13Implement compilation for InflectDirectiveBenjamin J. Culkin
2019-08-10Implement compilation for IndentDirectiveBenjamin J. Culkin
2019-08-08Remove dead code, from before compilationBenjamin J. Culkin
2019-08-08Implement compilation of GotoDirectiveBenjamin J. Culkin
2019-08-08Implement compilation for number-print directivesBenjamin J. Culkin
2019-07-31Implement compilation for FreshlineDirectiveBenjamin J. Culkin
2019-07-31Remove unneeded codeBenjamin J. Culkin
2019-07-28Implement compilation for EscapeDirectivebculkin2442
2019-07-28Implement compilation for ConditionalDirectivebculkin2442
2019-07-28Implement compilation for CharacterDirectivebculkin2442
2019-07-28Implement compilation for CaseDirectivebculkin2442
2019-07-28Implement compilation for AestheticDirectivebculkin2442
2019-07-27Progress on compilationBenjamin J. Culkin
Made more progress on compilation. LiteralDirectives are now always compiled.
2019-07-26Refactor directive handlingBenjamin J. Culkin
Refactored the tokenizer to pass back tokens which have the data stored on them, significantly cutting down on the amount of parsing/reparsing of directives we are doing. Also, it makes the over-arching goal of allowing compilation easier
2019-07-25First steps towards format string compilation.Benjamin J. Culkin
This provides the first steps towards the compilation of format strings.
2019-07-25Re-do parameter implementationBenjamin J. Culkin
This redoes the implementation of parameters, partially to clean things up, but mainly to allow format-string compilation to work better.
2019-07-25minor tweaksBenjamin J. Culkin
2019-07-24Fix up case printing a bitBenjamin J. Culkin
2019-04-22Misc. FixesBenjamin J. Culkin
2019-04-22Fix named params.Benjamin J. Culkin
Fix using named parameters. Previously they just did not work
2019-04-22Fixed comb. of `@` mod and 4-param ~A dir.Benjamin J. Culkin
Fixed the combination of the `@` mod and the 4-parameter form of the ~A directive. Previously, this would add an excessive amount of padding to the output. Also added some test cases for this, and fixed another similar padding bug.
2018-12-06Finish conversion to iteratorsbculkin2442
Swapped to using an iterator that internally uses a matcher, instead of a direct iterator. This is so as to make it easier to convert to a non-matcher based iterator at some point.
2018-12-06Begin conversion to iteratorBenjamin J. Culkin
2018-10-28Cleanupbculkin2442
2018-10-28Import organizationbculkin2442
2018-10-16Merge branch 'master' of github.com:bculkin2442/bjc-utils2Benjamin J. Culkin
2018-10-16UpdateBenjamin J. Culkin
2018-10-13General cleanup and documentation.bculkin2442
Cleanup files, and add missing comments in places.
2018-09-20Allow abbreviating parametersBenjamin J. Culkin
Named parameter names can now be abbreviated to anything that is unambiguous with all the other named parameters for that directive.
2018-09-20Named parameters are always uppercaseBenjamin J. Culkin
Named parameters are always converted to uppercase now.
2018-09-20Use named parametersBenjamin J. Culkin
This allows named parameters to be used with all directives that take prefix parameters. Unnamed parameters still work, and there is no option at the moment that requires a name, but that may not remain true in the future.
2018-09-19Minor changesbculkin2442
2018-09-19Update namesBenjamin J. Culkin
2018-09-19Add named parametersBenjamin J. Culkin
You can now use named prefix parameters in FORMAT strings. Well, none of the directives support them yet, but they are accepted in the directives, and it'll be easy enough to add the support
2018-09-17General updates to FORMATBenjamin J. Culkin