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.
Click to show internal directories.
Click to hide internal directories.