Documentation ¶ Index ¶ Variables type Compiler func New() *Compiler func (c *Compiler) Compile(programFile string) (*vm.Program, error) func (c *Compiler) RegisterBuiltins(pkgName string, exports export.Exports) func (c *Compiler) SetFS(fs fs.FS) Constants ¶ This section is empty. Variables ¶ View Source var ErrCircularDependency = errors.New("circular dependency") Functions ¶ This section is empty. Types ¶ type Compiler ¶ type Compiler struct { // contains filtered or unexported fields } func New ¶ func New() *Compiler func (*Compiler) Compile ¶ func (c *Compiler) Compile(programFile string) (*vm.Program, error) func (*Compiler) RegisterBuiltins ¶ func (c *Compiler) RegisterBuiltins(pkgName string, exports export.Exports) func (*Compiler) SetFS ¶ func (c *Compiler) SetFS(fs fs.FS) Source Files ¶ View all Source files compiler.gopackage.go Click to show internal directories. Click to hide internal directories.