compiler

package
v0.0.0-...-9483064 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

type Compiler struct {
	// contains filtered or unexported fields
}

func NewCompiler

func NewCompiler(tokens []lexer.Token) *Compiler

func (*Compiler) Compile

func (c *Compiler) Compile(tokens []lexer.Token) ([]bytecode.Instruction, []bytecode.Constant, error)

func (*Compiler) Release

func (c *Compiler) Release()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL