summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils
AgeCommit message (Collapse)Author
2017-09-11Minor changesBenjamin Culkin
2017-09-11Use java.util.logging, not System.errBenjamin J. Culkin
2017-09-11Bundle state into its own classBenjamin J. Culkin
Bundle the state for BlockReaderCLI into a class by itself, for use in future plans.
2017-09-11Fix misc. compile errorsBenjamin J. Culkin
2017-09-11Add beginnings of CLI for definesBenjamin J. Culkin
2017-09-11Add definesBenjamin J. Culkin
Defines are simple unary functions that apply replacements to strings. Currently, there are two types. * SimpleDefine - Replace all occurances of a pattern with a given string. * IteratedDefine - Replace occurances of a pattern with a string chosen from a series of strings.
2017-09-11Add converge combinatorBenjamin J. Culkin
Adds a function that creates a function that iterates an operator until it either converges or exceeds a defined number of iterations.
2017-09-11Update BlockReaderCLIBenjamin J. Culkin
2017-09-11Add ToggledBlockReader to CLIBenjamin J. Culkin
2017-09-10Add BoundBlockReaderBenjamin J. Culkin
BoundBlockReader is a BlockReader that draws blocks from a pair of functions. Thus, it is the most general of the BlockReaders, in that you could probably implement any of them with suitably chosen functions.
2017-09-10Make ToggledBlockReader implement BlockReaderBenjamin J. Culkin
2017-09-10Add more BlockReadersBenjamin J. Culkin
Adds a new type of block reader, the ToggleBlockReader. This switches between two different sources every block. Also, make sure all of the BlockReaders keep their own block count.
2017-09-10More BlockReader workBenjamin J. Culkin
This includes some minor fixes to the BlockReaderCLI, and two new BlockReader types * MappedBlockReader - Apply a function to each block, transforming it. * FlatMappedBlockReader - Apply a function to each block, expanding it into one or more blocks.
2017-09-09UpdateBenjamin J. Culkin
Most of it is documentation changes. The rest is more work on BlockReaders, as well as a simple command language for configuring them.
2017-09-01Fix line numbersBenjamin J. Culkin
2017-09-01CommentingBenjamin J. Culkin
2017-07-23Fix line numbers for blocksBenjamin J. Culkin
SimpleBlockReader now properly gives line numbers
2017-04-11More splittersbculkin2442
2017-04-11Remove old splittersbculkin2442
2017-04-10Add isomorphisms.bculkin2442
An isomorphism is a pair of functions between a source and destination type. Ideally, they should be inverses, but java has no way to check that by itself.
2017-04-10Cleanupbculkin2442
2017-04-10Warning resolutionbculkin2442
2017-04-10Allow varargs passing for exclusionsbjculkin
2017-04-07New splitter implementationbjculkin
2017-04-07Add simple toggle valuesbjculkin
2017-04-07Fix property bugsstudent
2017-04-07Cleanupbjculkin
2017-04-07Cleanupbjculkin
2017-04-06Convert doubles to propertiesbjculkin
2017-04-06More propertiesbjculkin
2017-04-06Start moving things to propertiesbjculkin
This cuts down on the amount of regex escapes
2017-04-06Add simple property setupbjculkin
2017-04-06Add default constructorbjculkin
2017-04-06Add simple lock w/ lambda capabilitiesbjculkin
2017-04-06Reorganize blocksbjculkin
2017-04-06Add string editor.bjculkin
The operations are very heavily inspired by the 'Sam' editor
2017-03-31Move Pratt Parser to new projectbjculkin
2017-03-31Move FDS to new projectbjculkin
2017-03-28Mostly finish FDS corebjculkin
The major changes this time are that we have both data/command macros, as well as proper Unicode character support.
2017-03-28Work more on FDSbculkin2442
2017-03-27Minor updatebculkin2442
2017-03-27Continue work on FDSbculkin2442
2017-03-27Add utility for triggered readersbculkin2442
Add a simple utility class for easy I/O prompting on triggered readers.
2017-03-27Implement more BlockReader typesbculkin2442
Adds additional useful block reader types. * LayeredBlockReader, which represents priority * SerialBlockReader, which concatenates readers
2017-03-27Work on FDS morebjculkin
2017-03-27Update FDSstudent
2017-03-27Simplificationsbjculkin
2017-03-26More FDS workbculkin2442
2017-03-26Update treesbculkin2442
2017-03-26Make BlockReader abstract, with varying impls.bculkin2442
This allows cool things to be accomplished through chaining BlockReaders together without having to handle the block plumbing yourself. The current set of implementations are a simple one that reads blocks from a scanner delimited by a pattern, one that has a queue of blocks it will attempt to pull from before reading, and one that triggers an action before a block is read. As an example use, for FDS, a combo of simple -> triggered -> pushback is used where the triggered is used for prompting the user, and the pushback supports macros.