repl

package
v0.0.0-...-9378d0a Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(disassemble, inspectStack, parse, lex bool)

Start the REPL.

Types

type Lexer

type Lexer struct {
	lexer.Lexer
}

Adapter for `lexer.Lexer` that provides an interface compatible with go-prompt.

func (*Lexer) Init

func (l *Lexer) Init(input string)

func (*Lexer) Next

func (l *Lexer) Next() (prompt.Token, bool)

Jump to

Keyboard shortcuts

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