| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Adds a basic pattern matching implementation. Not perfect, but pretty
good, considering what we have to work with
|
|
|
|
|
|
This greatly increases the number of possible directives, though some of
them could be hard to name/remember.
The general rule of thumb is that the more '`' you have in a directive
name, the more arcane/specialized/rarely used a given directive is.
|
|
|
|
This is mostly just some cleanup of the various implementation types,
but it also adds a 'marker' interface for decrees, IDecree
|
|
|
|
|
|
|
|
Cleanup somethings related to token splitters
|
|
|
|
In case anyone wants it, SimpleKeyedButton now returns the created
action when it is set
|
|
|
|
It seemed like it was more sensible to put this class in with the other
IO related things, instead of in with the GUI stuff
|
|
This implements a general directive for float printing (~`D). In the
long term, instead of this directive, a more specific one (probably
implemented by a macro or something) should be used
|
|
|
|
This update converts the documentation from the cursory Markdown in the
README.md file, and converts it into a typeset document, using Groff and
the MS macro package.
Currently, almost all of the existing documentation has been typeset,
and soon, I will work on continuing from where I had left off.
|
|
Adds unit tests for SimpleDefine and IteratedDefine.
This also fixes an issue with IteratedDefine, where once you had
consumed a replacer, it was consumed for good; you couldn't use it in
the future, even in a different call to apply().
This was fixed through the introduction of a new iterator type from
esodata - ResettableIterator. See that project/type for more details on
what exactly this does; but suffice to say, it allows to restore our
iterator and re-iterate over the same elements on every call to apply.
|
|
This renames several of the stock exceptions to remove 'Exception' from
their name. This is something that I don't recall where I picked it up
from, but the idea is that the fact that it is an exception is generally
syntactically obvious. Therefore, you can instead give your exceptions
names which directly state what it wrong, as well as strongly implying
what you can do to fix it.
For instance, if you get a DirectionInvalid, it is apparent what the
issue is (it is less apparent why it is invalid, but that is another
issue, and a discussion for another time)
|
|
|
|
|
|
Take care of some various warnings that were occuring
|
|
|
|
This is an output stream that mirrors what is written to it to all of
its composite output streams.
|
|
|
|
Cleanup some latent bugs
|
|
Part II of the cleanup pass
|
|
Cleanup pass to uniformize things
|
|
Add some javadoc comments
|
|
Finished extracting the old version of esodata, and fixed all the local
issues
|
|
utils.esodata now also lives in the esodata project; not here
|
|
utils.data now lives in the esodata project; not in this one
|
|
This adds the esodata project as a dependancy, to prepare for the
duplicated code between this project and that one being removed.
|
|
Cleanup some warnings
|
|
Add an additional UI control (a button that has a keystroke bound to
it), and add the ability to get a directory picker from
SimpleFileChooser
|
|
Add some tests for stuff in math.NumberUtils
|
|
Add an ability to append an item to a tape. Currently, the
implementation is kind of inefficent for everything that isn't a
SingleTape
|
|
This class parses DualExprs from prefix expressions
|
|
Tests are now in a 'test' sub-package, so it is clear that they are
indeed test code, not just disjoint parts of the main code
|
|
ConditionalDirective""
This reverts commit c7103ed995bef77b6645947c9a8820af2933dd90.
|
|
When we were processing a nested closing decree, we were forgetting to
add it to the current clause, thus causing confusion when someone later
tried to parse that clause and missed their ending token.
|
|
|
|
This reverts commit cb7be8155255fad01aaf5beebe7a0f793cff016b.
|
|
|
|
|
|
This will help with debugging these, because now I can properly print
them out and see what they contain
|
|
This is because we already know it's an exception if we're throwing it;
and the name of an exception should suggest both what's wrong, and
perhaps imply what we should do about it
|
|
Just clean up of some warnings/other misc. problems
|