Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSuchLang = errors.New("No such language registered")
ErrNoSuchLang is called when a language interface function is called on a language that isn't registered or doesn't exist.
View Source
var ScriptingLangs = make(map[string]scripting.ScriptingLang)
ScriptingLangs is a global map that contains all of out registered scripting languages
Functions ¶
func Interpreter ¶
Interpreter should open an interpreter for the provided language
func Register ¶
func Register(name string, lang scripting.ScriptingLang)
Register registers a scripting language for use
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.