repl

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package repl provides a REPL for DLiteScript.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REPL

type REPL struct {
	OutFile io.Writer
	InFile  io.Reader
	// contains filtered or unexported fields
}

REPL represents a REPL for DLiteScript.

func NewREPL

func NewREPL(outFile io.Writer, inFile io.Reader) *REPL

NewREPL creates a new REPL.

func (*REPL) Run

func (r *REPL) Run() error

Run starts the REPL loop.

Jump to

Keyboard shortcuts

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