The term groovyshell refers to both: 1. A command line interactive groovy shell, usually invoked as "groovysh" 2. One of the primary classes (groovy.lang.GroovyShell) in the Groovy language API for dynamically compiling and invoking groovy scripts from their raw source state.
The term groovyshell refers to both:
- A command line interactive groovy shell, usually invoked as "groovysh"
- One of the primary classes groovy.lang.GroovyShell) in the Groovy language API for dynamically compiling and invoking groovy scripts from their raw source state.
Groovysh
A command line groovy interpreter, well documented in the official documentation.
GroovyShell (the class)
groovy.lang.GroovyShell is one of the core classes of the Groovy runtime. It provides support for interpreting, evaluating and compiling groovy scripts in their raw source state. The base support for source read targets are:
- Java Files
- Java Input Streams
- Java Readers
- Java Strings
- Groovy GroovyCodeSources (A special source construct that isolates the contained source and generated byte code)