Documentation
¶
Overview ¶
Package runtime provides Shaden-specific lisp built-ins and REPL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHandler ¶
AddHandler registers the evaluation handler with a ServeMux.
Types ¶
type Engine ¶
type Engine interface {
SendMessage(*engine.Message) error
UnitBuilders() map[string]unit.Builder
FrameSize() int
SampleRate() int
}
Engine represents the things we need from engine.Engine
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime represents the runtime execution environment
func (*Runtime) ClearUserspace ¶
func (r *Runtime) ClearUserspace()
ClearUserspace resets the environment by clearing all user-defined symbols.
Click to show internal directories.
Click to hide internal directories.