Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(args []string, debugger *interpreter.Debugger)
Execute parses the given filename and prints any syntax errors. If there are no syntax errors, the program is interpreted. If after the interpretation a global function `main` is defined, it will be called. The program may call the function `log` to print a value.
Types ¶
type InteractiveDebugger ¶ added in v0.24.0
type InteractiveDebugger struct {
// contains filtered or unexported fields
}
func NewInteractiveDebugger ¶ added in v0.24.0
func NewInteractiveDebugger(debugger *interpreter.Debugger, stop interpreter.Stop) *InteractiveDebugger
func (*InteractiveDebugger) Continue ¶ added in v0.24.0
func (d *InteractiveDebugger) Continue()
func (*InteractiveDebugger) Help ¶ added in v0.24.0
func (d *InteractiveDebugger) Help()
func (*InteractiveDebugger) Next ¶ added in v0.24.0
func (d *InteractiveDebugger) Next()
func (*InteractiveDebugger) Run ¶ added in v0.24.0
func (d *InteractiveDebugger) Run()
func (*InteractiveDebugger) Show ¶ added in v0.24.0
func (d *InteractiveDebugger) Show(names []string)
Show shows the values for the variables with the given names. If no names are given, lists all non-base variables
func (*InteractiveDebugger) Where ¶ added in v0.24.0
func (d *InteractiveDebugger) Where()
Click to show internal directories.
Click to hide internal directories.