Models a binding of a value to a typed name, and is passed into the REPL so it can re-create the bindings inside the REPL's scope
Fake for-comprehension generator to catch errors and turn them into Res.Failures
A set of colors used to highlight the miscellanious bits of the REPL.
Exception for reporting script compilation failures
Resolve artifacts from Ivy.
Resolve artifacts from Ivy. Originally taken from
http://makandracards.com/evgeny-goldin/5817-calling-ivy-from-groovy-or-java
And transliterated into Scala. I have no idea how or why it works.
Encapsulates the ways the Ammonite REPL prints things
Encapsulates the ways the Ammonite REPL prints things
How you want it to print streaming fragments of stdout
How you want it to print a complete warning
How you want it to print a complete error
The result of a single pass through the ammonite REPL.
A thin wrapper around RepositoryResolver, which wraps them and provides hashability in order to set the cache tags.
A thin wrapper around RepositoryResolver, which wraps them and provides hashability in order to set the cache tags. This lets us invalidate the ivy resolution cache if the set of resolvers changes
Encapsulates a read-write cell that can be passed around
Trait for the interface of common persistent storage.
Trait for the interface of common persistent storage. This handles history and persistent caches. Right now it is not threadsafe nor does it handle the mutual exclusion of files between processes. Mutexes should be added to be able to run multiple Ammonite processes on the same system.
Nice pattern matching for chained exceptions
The various entry-points to the Ammonite repl
Code used to de-serialize command-line arguments when calling an Ammonite script.
Code used to de-serialize command-line arguments when calling an Ammonite script. Basically looks for a scopt.Read for the type of each argument and uses that to de-serialize the given String into that argument.
Needs a bit of macro magic to work.
A set of colors used to highlight the miscellanious bits of the REPL. Re-used all over the place in PPrint, TPrint, syntax highlighting, command-echoes, etc. in order to keep things consistent
The command prompt
Definition of top-level identifiers
Strings, integers and other literal expressions
The Seq/Foo when printing a Seq(...) or case class Foo(...)
The color of text selected in the line-editor
The color used to print error messages of all kinds
Whatever is necessary to get rid of residual coloring