Documentation ¶ Index ¶ type Compiler func New() *Compiler func (c *Compiler) Compile(filename string) errors.ErrorList func (c *Compiler) GenIR() string func (c *Compiler) IncludeFiles() []string func (c *Compiler) Optimize() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Compiler ¶ type Compiler struct { Filename string Program *ast.Program } func New ¶ func New() *Compiler func (*Compiler) Compile ¶ func (c *Compiler) Compile(filename string) errors.ErrorList func (*Compiler) GenIR ¶ func (c *Compiler) GenIR() string func (*Compiler) IncludeFiles ¶ func (c *Compiler) IncludeFiles() []string func (*Compiler) Optimize ¶ func (c *Compiler) Optimize() Source Files ¶ View all Source files compiler.go Directories ¶ Show internal Expand all Path Synopsis ast codegen builtin internal errors lexer optimizer parser token Click to show internal directories. Click to hide internal directories.