summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/rgens/parser/Rule.java
AgeCommit message (Collapse)Author
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-09-06Convert GenerationState.contents to privateBenjamin J. Culkin
This is to prepare for replacing contents with a ReportWriter
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-08-14Minor cleanupsBenjamin 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-06-05Templates pt. 3Benjamin J. Culkin
Templates should now work, though there is no syntax to reference them from rules yet In addition, several internal things have been changed so as to improve code quality
2018-06-05Templates pt.2Benjamin J. Culkin
More work that leads towards getting templates working
2018-06-04Rule variables pt. 1Benjamin J. Culkin
Add the capability to store regular/exhaustible rule variables
2018-06-04Declaration follows useBenjamin J. Culkin
Simple/expanding variables are now marked with a $, as they are when used. Additionally, some debugging help was added
2018-06-04UpdateBenjamin J. Culkin
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-05-29Merge branch 'working'Benjamin J. Culkin
2018-05-29Move files out of folderBenjamin J. Culkin