summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/rgens/parser/RGrammarBuilder.java
AgeCommit message (Collapse)Author
2020-04-12Adjust to BJC-Utils changesBen Culkin
Several packages were moved from BJC-Utils to esodata. This makes the necessary changes
2020-03-30Clean up warningsBen Culkin
Clean up some warnings that were hanging around
2019-07-21Merge cleanupsbculkin2442
2019-07-21Refactor front-end error-handlingBenjamin J. Culkin
This refactors the front-end to use a tree for capturing errors, instead of throwing exceptions. This has the benefit that you will receive notifications about all of the error messages you have, instead of only the first. I'm a bit fuzzy on the details, since it's been a while since I wrote these changes.
2018-10-28Import organizationbculkin2442
2018-10-28General cleanupbculkin2442
2018-09-05Finally do something with regexizeRuleBenjamin J. Culkin
It now works, but is called find-replace-rule instead. There is also reject-rule, to say to reject any rule that doesn't match a provided regex. NOTE: For providing the regexes, if they contain spaces, they must be quoted.
2018-09-05Simplify affix applicationBenjamin J. Culkin
This simplifies the internal way affixes are applied, as well as adding a new circumfix-with pragma
2018-09-05Autovivify varsBenjamin J. Culkin
Enable autovivifying variables. These will have their definition automatically ran when they are first referenced.
2018-09-05Add grammar name pragmaBenjamin J. Culkin
2018-09-05Cleanup suffixWith/prefixWith in builderBenjamin J. Culkin
2018-08-10Update loggingBenjamin J. Culkin
Logging now uses the RGrammarLogging system so as to allow for better customizability of how the logging works
2018-07-20UpdateBenjamin J. Culkin
2018-06-07RefactoringBenjamin J. Culkin
The main refactoring here is removing the type field from the various classes, but there are a few other smaller ones. This also contains the grounds for a refactoring on variable use
2018-06-05Minor bug-fixesBenjamin J. Culkin
2018-06-04Add line offsetBenjamin J. Culkin
Blocks should now properly give absolute numbers as to where they are from
2018-06-04Add syntax featuresBenjamin J. Culkin
This adds a few new syntax features, as well as allowing certain ones to be used in pragmas. The next syntax feature to be added will be some sort of quote feature, to allow the inclusion of spaces where they would otherwise not be permitted
2018-06-04Add recurrance limitBenjamin J. Culkin
This controls the number of times a rule can be entered into during a single generations, and is set to 5 by default
2018-06-03Weighting part 1Benjamin J. Culkin
This re-adds the capability to weight rules. However, no syntax has yet been add to perform that rule weighting
2018-06-03Enable multi-prefixing/suffixingBenjamin J. Culkin
You can now provide multiple prefix/suffix elements, and all of the permutations of them will be applied. For example, providing the elements A & B, will yield the following permutations * A * B * A B * B A
2018-05-29Refactor to split RuleCaseBenjamin J. Culkin
RuleCase now handles its own generation.
2018-05-29Refactor case element generationBenjamin J. Culkin
Case elements are now responsible for generating themselves.
2018-05-29Fix pragma error messages.Benjamin J. Culkin
Malformed pragmas should now give better error messages.
2018-05-29Merge branch 'working'Benjamin J. Culkin
2018-05-29Move files out of folderBenjamin J. Culkin