pygen

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pygen is the Python-language adapter of the shared R4 task generator. It supplies a gencore.Profile describing Python's file conventions and verification commands (byte-compile via `python -m py_compile`, run tests via `python -m pytest`); every generation control-flow decision lives in internal/eval/gen/gencore. Wire a Python generator with gencore.Register(reg, querier, pygen.Profile) (or gencore.New for callers that manage registration themselves).

Index

Constants

This section is empty.

Variables

View Source
var Profile = gencore.Profile{
	Language:           eval.LanguagePython,
	IDToken:            "py",
	ErrPrefix:          "pygen",
	DisplayName:        "Python",
	NoTestEditFragment: "- Do not modify any existing test_*.py file.\n",
	MustSatisfyCmd:     "python -m pytest -v",
	TestFileNoun:       "package",
	TestFilePath:       testFilePath,
	VerifyTarget:       gencore.SlashDir,
	BuildCmd:           buildCmd,
	TestCmd:            testCmd,
}

Profile is the Python language profile for the shared generator engine.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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