compiler

package
v0.0.0-...-d6b0b83 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: BSD-3-Clause Imports: 9 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 {
	// Configuration
	InputFiles []string
	OutputFile string
	Verbose    bool
	Optimize   bool
	// contains filtered or unexported fields
}

func NewCompiler

func NewCompiler(inputFiles []string, outputFile string) *Compiler

NewCompiler creates a new instance of the ClockWise compiler

func NewSingleFileCompiler

func NewSingleFileCompiler(inputFile, outputFile string) *Compiler

NewSingleFileCompiler creates a compiler for a single input file (backward compatibility)

func (*Compiler) Compile

func (c *Compiler) Compile() error

Compile compiles the input files to the output file using GoSE backend (direct to binary)

func (*Compiler) SetVerbose

func (c *Compiler) SetVerbose(verbose bool)

SetVerbose sets the verbose flag

Jump to

Keyboard shortcuts

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