Documentation ¶
Overview ¶
Package forge implements a stack-base interpreter using language elements from Forth.
Index ¶
- type Callable
- type DataItem
- type ForgeEnv
- func (f *ForgeEnv) CP() Ptr
- func (f *ForgeEnv) CState() bool
- func (f *ForgeEnv) Call(it XT)
- func (f *ForgeEnv) ChildFE() *ForgeEnv
- func (f *ForgeEnv) Compile(it DataItem)
- func (f *ForgeEnv) DS() Stack
- func (f *ForgeEnv) Evaluate(s string)
- func (f *ForgeEnv) EvaluateMap(data m.Map)
- func (f *ForgeEnv) Exec(t string)
- func (f *ForgeEnv) Execute(it XT)
- func (f *ForgeEnv) Here() Ptr
- func (f *ForgeEnv) IP() Ptr
- func (f *ForgeEnv) Include(fn string)
- func (f *ForgeEnv) InitCode() Ptr
- func (f *ForgeEnv) Input() input.Input
- func (f *ForgeEnv) LatestXT() XT
- func (f *ForgeEnv) Lookup(name string) *Item
- func (f *ForgeEnv) Output() io.Writer
- func (f *ForgeEnv) Pop() interface{}
- func (f *ForgeEnv) Push(v interface{})
- func (f *ForgeEnv) RS() Stack
- func (f *ForgeEnv) Register(t string, fct Callable) *Item
- func (f *ForgeEnv) Return()
- func (f *ForgeEnv) Run()
- func (f *ForgeEnv) RunLine()
- func (f *ForgeEnv) SetCState(s bool)
- func (f *ForgeEnv) SetCode(p Ptr)
- func (f *ForgeEnv) SetIP(p Ptr)
- func (f *ForgeEnv) SetInput(inp input.Input) input.Input
- func (f *ForgeEnv) SetOutput(w io.Writer) io.Writer
- func (f *ForgeEnv) Substring(s string) string
- func (f *ForgeEnv) Sysdata() Sysdata
- func (f *ForgeEnv) Token() string
- func (f *ForgeEnv) UserVars() Ptr
- type Item
- type Ptr
- type Stack
- type Sysdata
- type Voc
- type XT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForgeEnv ¶
type ForgeEnv struct {
// contains filtered or unexported fields
}
func (*ForgeEnv) EvaluateMap ¶
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func GlobalRegister ¶
func (*Item) IsImmediate ¶
Directories ¶
Path | Synopsis |
---|---|
Package main is the top-level command line starter.
|
Package main is the top-level command line starter. |
Package input provides functionalities for reading streams and files into lines, and splitting up lines and streams into tokens and other substrings.
|
Package input provides functionalities for reading streams and files into lines, and splitting up lines and streams into tokens and other substrings. |
Package prim provides the primitive words that have to be defined in Go.
|
Package prim provides the primitive words that have to be defined in Go. |
Package syslib provides OS-specific facilities.
|
Package syslib provides OS-specific facilities. |
Click to show internal directories.
Click to hide internal directories.