Documentation ¶
Overview ¶
Package interpreter is the core of iGo. interpreter uses the parse package to parse Go Structs into meaningful information. the core interpreter is independent of any input source
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interpreter ¶
Interpreter houses the function references and input history
func (*Interpreter) Eval ¶
func (i *Interpreter) Eval(text string) string
Eval will evaluate the text
func (*Interpreter) Interpret ¶
func (i *Interpreter) Interpret(text string) string
Interpret will take some text and Classify it as either an expression or a function If it is a function it will store the reference of the Function in a map If the text is classified as an expression, it will evaluate the expression, using the function reference map if needed
Click to show internal directories.
Click to hide internal directories.