Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EvalFunc ¶ added in v0.6.5
EvalFunc is the signature for eval functions passed to readEvalPrint. CLI wraps evalSafe with signal handling; WASM uses evalSafe directly.
type Option ¶
type Option func(*options)
Option is a functional option for the REPL.
func WithEnvironment ¶
func WithEnvironment(env lang.Environment) Option
WithEnvironment sets the execution environment for the REPL.
func WithHistoryFile ¶ added in v0.6.5
WithHistoryFile sets the history file path and format. Format is "jline" for JLine format (Babashka/Leiningen), or empty for default JSON.
func WithNREPLClient ¶ added in v0.6.5
WithNREPLClient configures the REPL to send code to a remote nREPL server instead of evaluating locally.
Click to show internal directories.
Click to hide internal directories.