Documentation
¶
Index ¶
- Variables
- func Abort(s string)
- func Add(t1 rune) rune
- func AddEntry(n rune, t rune)
- func Alloc(n, t rune)
- func AllocVar(n, t rune)
- func Assignment()
- func Block()
- func CheckDup(n rune)
- func Clear()
- func Convert(source, dest rune, reg string)
- func Decl()
- func Divide(t1 rune) rune
- func DumpTable()
- func Emit(s string)
- func EmitLn(s string)
- func Error(s string)
- func Expected(s string)
- func Expression() (typ rune)
- func Factor() (typ rune)
- func Fin()
- func GenAdd(size rune)
- func GenDiv()
- func GenLongDiv()
- func GenLongMult()
- func GenMult()
- func GenSub(size rune)
- func GetChar()
- func GetName() (r rune)
- func GetNum() (val int64)
- func Go()
- func InTable(n rune) bool
- func Init()
- func IsAddOp(r rune) bool
- func IsAlNum(r rune) bool
- func IsAlpha(r rune) bool
- func IsDigit(r rune) bool
- func IsMulOp(r rune) bool
- func IsOrOp(r rune) bool
- func IsRelOp(r rune) bool
- func IsVarType(r rune) bool
- func IsWhite(r rune) bool
- func Load(name rune) rune
- func LoadConst(n int64, typ rune)
- func LoadNum(n int64) rune
- func LoadVar(name, typ rune)
- func Match(x rune)
- func Move(size rune, source, dest string)
- func Multiply(t1 rune) rune
- func Pop(size rune)
- func PopAdd(t1, t2 rune) rune
- func PopDiv(t1, t2 rune) rune
- func PopMul(t1, t2 rune) rune
- func PopSub(t1, t2 rune) rune
- func Promote(t1, t2 rune, reg string) (typ rune)
- func Push(size rune)
- func SameType(t1, t2 rune) rune
- func SkipWhite()
- func Store(name, t1 rune)
- func StoreVar(name, typ rune)
- func Subtract(t1 rune) rune
- func Term() (typ rune)
- func TopDecls()
- func TypeOf(n rune) rune
- func UnOp() rune
- func VarType(name rune) rune
Constants ¶
This section is empty.
Variables ¶
View Source
var Look rune
Look is a Lookahead character
View Source
var ST map[rune]rune
ST is a Symbol Table
Functions ¶
func Clear ¶
func Clear()
Clear Clears the Primary Register Note this is not defined in Chapter 14, but assuming the same function as from Chapter 12
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.