A filter as an abstract class, letting you provide a filter instead of
an op
, automatically providing a good .toString
for debugging, and
providing a reasonable "place" inside the inheriting class/object to put
state or helpers or other logic associated with the filter.
A small helper class to quickly define enumerations: extend this class in
your companion object and define the items via val a, b, c = Item(...)
passing in your enum class constructor in place of ...
.
The way you configure your terminal behavior; a trivial wrapper around a
function, though you should provide a good .toString
method to make
debugging easier.
A truly-lazy implementation of scala.
Implicitly instantiated class letting you pass in a single string or a sequence of strings anywhere a set of prefixes is required
Prints stuff to an ad-hoc logging file when running the ammonite repl or ammonite-terminal in development mode in its SBT project.
Convenience constructors to create Filter instances in a bunch of different ways
A collection of helpers that to simpify the common case of building filters
One place to assign all the esotic control key input snippets to easy-to-remember names
The core logic around a terminal; it defines the base filters
API
through which anything (including basic cursor-navigation and typing)
interacts with the terminal.