repl

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2024 License: EPL-1.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(opts ...Option)

Start starts the REPL.

Types

type Option

type Option func(*options)

Option is a functional option for the REPL.

func WithEnvironment

func WithEnvironment(env value.Environment) Option

WithEnvironment sets the execution environment for the REPL.

func WithStdin

func WithStdin(r io.Reader) Option

WithStdin sets the stdin for the REPL.

func WithStdout

func WithStdout(w io.Writer) Option

WithStdout sets the stdout for the REPL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL