summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/inflexion/InflectionString.java
AgeCommit message (Collapse)Author
2020-03-30Clean up warningsBen Culkin
Clear up some warnings that had popped up. Mostly, closing some input streams after we're done with them.
2018-11-19Swap directive lexer to character-based iteratorBenjamin J. Culkin
This swaps the lexer that compiled inflection strings use for finding directives to use a character-based custom iterator instead of using String.split(). This means that you can now have spaces inside of your directives, and allows the easier addition of any future directives with more complex contents. NOTE: However, while spaces in directives may not cause errors with the syntax, none of the existing directives will likely do what you want in those cases.
2018-11-15Remove redundant options fieldbculkin2442
This adds a empty base class for options that both NounOptions and NumericOptions subclass, so as to allow the directive to contain a single field of Options, that is cast to the correct subtype when needed. Attempting to set the wrong kind of options for a directive will cause an exception to be thrown.
2018-11-15Fix up error handling (throw when parse errors happen)bculkin2442
Error handling for InflectionStrings will now make itself known, as an exception will be thrown upon there being errors parsing the string.
2018-10-30Finish directive sequencingbculkin2442
2018-10-29Partial implementation of directive sequencesBenjamin Culkin
They can be created, but not evaluated
2018-10-28Import organizationbculkin2442
2018-10-28Add compilation supportbculkin2442
Inflection strings can now be compiled and reused, like regular expressions.