repl

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

src/repl/repl.go

Index

Constants

View Source
const ODINS_EYE = `` /* 4951-byte string literal not displayed */

Variables

This section is empty.

Functions

func ProcessFile

func ProcessFile(filePath string, out io.Writer, env *object.Environment) error

ProcessFile reads, parses, and evaluates a Carrion source file

func ProcessFileWithDebug added in v0.1.6

func ProcessFileWithDebug(filePath string, out io.Writer, env *object.Environment, debugConfig *debug.Config) error

ProcessFileWithDebug reads, parses, and evaluates a Carrion source file with debug output

func Start

func Start(in io.Reader, out io.Writer, env *object.Environment)

Start begins the REPL

func StartWithDebug added in v0.1.6

func StartWithDebug(in io.Reader, out io.Writer, env *object.Environment, debugConfig *debug.Config)

StartWithDebug begins the REPL with debug configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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