Documentation
¶
Index ¶
Constants ¶
View Source
const Logo = `` /* 1060-byte string literal not displayed */
View Source
const Oops = `` /* 554-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REPL ¶
type REPL struct {
// contains filtered or unexported fields
}
func (*REPL) AddPostInit ¶
func (*REPL) DisassembleFile ¶
func (*REPL) ExecFile ¶
ExecFile reads, compiles and runs a script in a fresh VM (with the registered post-init hooks applied) and returns the first error instead of exiting, so long-lived callers such as -watch can keep going.
func (*REPL) ExecFileVM ¶
ExecFileVM is ExecFile but also returns the VM the script ran in (nil if the script never started), so callers can inspect its state afterwards.
Click to show internal directories.
Click to hide internal directories.