| Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
This is to prepare for replacing contents with a ReportWriter
|
|
Enable autovivifying variables. These will have their definition
automatically ran when they are first referenced.
|
|
This makes the two maps in GenerationState private. Use the
defineVar/findVar or defineRuleVar/findRuleVar instead.
This is another change on the way to doing autovivify
|
|
Logging now uses the RGrammarLogging system so as to allow for better
customizability of how the logging works
|
|
|
|
|
|
|
|
A major refactoring to the internals of how things work. I believe that
nothing is broken
|
|
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
|
|
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
|
|
More work that leads towards getting templates working
|
|
|
|
There is now syntax for rule references. Use @ instead of $, and use :=
to indicate you want exhaustion enabled
Use @ to refer to it
|
|
Add the capability to store regular/exhaustible rule variables
|
|
Simple/expanding variables are now marked with a $, as they are when
used.
Additionally, some debugging help was added
|
|
|
|
|
|
Inline rules are now enclosed in [...], not {...} to better match other
reference types
|
|
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
|
|
This controls the number of times a rule can be entered into during a
single generations, and is set to 5 by default
|
|
This adds inline case elements, essentially cutting down on the need for
short 2-3 alternative rules.
You'll still need explicit rules for things involving spaces though.
Perhaps I will add a quoting feature to solve that problem.
|
|
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
|
|
RuleCase now handles its own generation.
|
|
The various types of RuleCaseElement are now their own things.
|
|
Case elements are now responsible for generating themselves.
|
|
|
|
|