Documentation ¶
Index ¶
- func DefaultCharacterInput() (int, error)
- func DefaultCharacterOutput(c int)
- func DefaultDecimalInput() (int, error)
- func DefaultDecimalOutput(c int)
- type InputFunction
- type OutputFunction
- type Pointer
- func (p *Pointer) CalculateNewStorageOffset()
- func (p *Pointer) Exec(f *field.Field) (done bool, returnValue *int)
- func (p Pointer) Get(f field.Field) int
- func (p Pointer) GetStorageOffset() (x, y int)
- func (p *Pointer) Redirect(c int) bool
- func (p *Pointer) RedirectTo(dx, dy int)
- func (p *Pointer) Reverse()
- func (p *Pointer) Set(x, y int)
- func (p *Pointer) SetStorageOffset(x, y int)
- func (p Pointer) Split() *Pointer
- func (p *Pointer) Step(f field.Field)
- func (p *Pointer) StepAndGet(f field.Field) int
- type StackStack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pointer ¶
type Pointer struct { // The next element for the multi-"threaded" b98 interpreter Next *Pointer // The input/output functions CharacterInput InputFunction DecimalInput InputFunction CharacterOutput OutputFunction DecimalOutput OutputFunction // command line arguments Argv []string // contains filtered or unexported fields }
type StackStack ¶
type StackStack struct {
// contains filtered or unexported fields
}
func NewStackStack ¶
func NewStackStack() *StackStack
func (*StackStack) Begin ¶
func (ss *StackStack) Begin(p *Pointer)
func (*StackStack) End ¶
func (ss *StackStack) End(p *Pointer) (reflect bool)
func (StackStack) GetHeights ¶
func (s StackStack) GetHeights() []int
func (*StackStack) Pop ¶
func (ss *StackStack) Pop() int
func (*StackStack) Push ¶
func (ss *StackStack) Push(v int)
func (*StackStack) Under ¶
func (ss *StackStack) Under() (reflect bool)
func (*StackStack) YCommandPick ¶
func (s *StackStack) YCommandPick(n int, h int)
Click to show internal directories.
Click to hide internal directories.