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 ¶
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.