codegen

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extension

func Extension(mode string) string

func Generate

func Generate(program *ir.Program) ([]byte, error)

func GenerateProject added in v0.2.0

func GenerateProject(programs []*ir.Program) ([][]byte, error)

GenerateProject emits a set of already-lowered modules in project order. Keeping the project boundary here lets a backend perform whole-project analysis without leaking backend-specific concerns into parsing, checking, or the shared IR.

Types

This section is empty.

Directories

Path Synopsis
Package naming contains target-independent helpers for encoding TypeRB source names that are not valid identifiers in every backend.
Package naming contains target-independent helpers for encoding TypeRB source names that are not valid identifiers in every backend.

Jump to

Keyboard shortcuts

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