pkg/

directory
v0.0.0-...-6786508 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT

Directories

Path Synopsis
Package build drives a compile end to end: parse the Python source, emit the Go program, lay out a self-contained Go module next to it, and run the Go toolchain.
Package build drives a compile end to end: parse the Python source, emit the Go program, lay out a self-contained Go module next to it, and run the Go toolchain.
Package cli is unagi's command surface: the cobra tree, the global flags, and the fang-rendered help and errors.
Package cli is unagi's command surface: the cobra tree, the global flags, and the fang-rendered help and errors.
The judge: channel-by-channel comparison of two normalized Outcomes.
The judge: channel-by-channel comparison of two normalized Outcomes.
Package emit holds the typed lowering paths, the half of the compiler that turns a proven static unit into ordinary Go working on unboxed values.
Package emit holds the typed lowering paths, the half of the compiler that turns a proven static unit into ordinary Go working on unboxed values.
Package floor holds the pure-Python standard library floor: the stdlib modules unagi compiles from source as ordinary input rather than backing with Go.
Package floor holds the pure-Python standard library floor: the stdlib modules unagi compiles from source as ordinary input rather than backing with Go.
Package frontend turns Python source into an AST: a lexer that produces the logical token stream (NEWLINE, INDENT, DEDENT and all), a recursive-descent parser over it, and the AST types below.
Package frontend turns Python source into an AST: a lexer that produces the logical token stream (NEWLINE, INDENT, DEDENT and all), a recursive-descent parser over it, and the AST types below.
Package ir is the seed of the typed IR pass that doc 15 describes: the layer between the frontend AST and pkg/emit.
Package ir is the seed of the typed IR pass that doc 15 describes: the layer between the frontend AST and pkg/emit.
Package lower turns the frontend AST into a Go main package.
Package lower turns the frontend AST into a Go main package.
Python function objects and the runtime calling convention.
Python function objects and the runtime calling convention.
Package partition decides, for every partition unit, whether it compiles to the native unboxed static tier or runs on the boxed object model, per doc 06.
Package partition decides, for every partition unit, whether it compiles to the native unboxed static tier or runs on the boxed object model, per doc 06.
Package lexer ports cpython/Parser/lexer/ and cpython/Parser/tokenizer/ to Go.
Package lexer ports cpython/Parser/lexer/ and cpython/Parser/tokenizer/ to Go.
Package token declares the token kind constants shared by the lexer and tokenize packages.
Package token declares the token kind constants shared by the lexer and tokenize packages.
Package report is the partitioner's user interface: the per-function build report of doc 06 section 10.
Package report is the partitioner's user interface: the per-function build report of doc 06 section 10.
Package runtime provides the builtin functions and process services that emitted unagi programs call into.
Package runtime provides the builtin functions and process services that emitted unagi programs call into.
Package scratch bounds the disk a test run leaves behind in the system temp directory.
Package scratch bounds the disk a test run leaves behind in the system temp directory.
Package sre is the bytecode matcher behind the pure-Python re package.
Package sre is the bytecode matcher behind the pure-Python re package.
Package types is unagi's type-flow inference lattice, the engine that decides which Python code the compiler may run as native unboxed Go.
Package types is unagi's type-flow inference lattice, the engine that decides which Python code the compiler may run as native unboxed Go.
Package vet is unagi's free-threading hazard analyzer.
Package vet is unagi's free-threading hazard analyzer.

Jump to

Keyboard shortcuts

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