Help us shape the future of Go! Take the 2026 Go Developer Survey

baseio

package
v0.2.62 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Package baseio provides the OS-level I/O builtins for Rye (file access, shell commands, stdin, os.Args, os.Exit) plus the interactive terminal display builtins (display, _.., display\custom, print\ssv, print\csv).

This package is separate from evaldo so that the embed module does not pull in heavy OS/terminal dependencies. Call baseio.Register(ps) after evaldo.RegisterBuiltins(ps) to get the full CLI runner feature set.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayRyeValue

func DisplayRyeValue(ps *env.ProgramState, arg0 env.Object, interactive bool) (env.Object, string)

DisplayRyeValue handles the display of Rye values, supporting both interactive and non-interactive modes. Exported so the console package can reference it via baseio.DisplayRyeValue.

func Register

func Register(ps *env.ProgramState)

Register registers all base I/O builtins and the interactive terminal display builtins into the program state. Call after evaldo.RegisterBuiltins.

Types

This section is empty.

Jump to

Keyboard shortcuts

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