genstdlibregistry

command
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

genstdlibregistry generates internal/semantic/stdlib_registry_gen.go by scanning all stdlib/*.kuki source files and extracting exported function return counts. Run via "make genstdlibregistry" or "go run ./cmd/genstdlibregistry".

This implements the "Automatic Inference" improvement described in COMPILER-FIX.md: instead of maintaining a hand-written registry in semantic.go, the registry is derived directly from the .kuki source files so it stays in sync automatically.

Jump to

Keyboard shortcuts

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