Skip to main content

Crate sim_lib_lang_python

Crate sim_lib_lang_python 

Source
Expand description

Thin, direct Python core profile over lowered codec/python expressions.

This crate intentionally has no instruction format, compiler, or foreign runtime. The codec owns syntax; this profile evaluates its stable token lowering and composes the shared binding, control, mutation, sequence, dispatch, number, arena, and tracing-collector contracts.

Structs§

Annotation
Retained annotation value and optional source/browse provenance.
DescriptorHook
Hook token used to prove descriptor receiver behavior.
MatchCase
One ordered Python structural-match case composed from a canonical Shape.
PythonBodyPolicy
Python-owned body and diagnostic metadata.
PythonCallError
A Python call-binding failure with Python-owned diagnostic vocabulary.
PythonClass
A declared Python class and its C3-linearized bases.
PythonEvalPolicy
Thin direct evaluator policy. Its profile evidence proves the codec entry and organ set.
PythonEvidenceCase
One frozen differential or regression case.
PythonExceptionData
Non-recursive Python data stored in a shared managed exception node.
PythonExceptions
Python exception heap, class policy, chaining, grouping, and handler matching.
PythonFidelity
Independently reported fidelity dimensions; never a blanket compatibility claim.
PythonFunctionFlags
Python execution flags retained by the language body policy.
PythonGenerator
Python send/throw/close policy backed by the shared resumable frame.
PythonIterator
Checked Python iterator state over an owned sequence.
PythonLibraryManifest
Generated builtin and source-library coverage for the checked matrix.
PythonObjectSpace
Python class and instance policy using shared property mechanics.
PythonSignature
Python-only signature rules that must not leak into neutral function plans.
PythonSurface
One explicit builtin or curated source-library member.

Enums§

AttributeError
Checked attribute failure.
ClassError
Failure to construct a consistent class hierarchy.
MatchOutcome
Result of ordered structural matching.
PythonExceptionError
Failure to construct or relate Python exception objects.
PythonExceptionRelation
Python-owned meaning of one managed exception edge.
PythonGeneratorError
Generator protocol or guest failure.
PythonGeneratorStep
Observable Python generator transition.
PythonManagedKind
Open Python role label carried by the shared managed node.
PythonManagedMutationError
A checked Python managed-graph mutation failure.
PythonObjectValue
Value stored by the checked object model.
PythonSurfaceState
Whether one public Python surface is implemented by the checked profile.
PythonValue
Values in the declared Python scalar/container core.

Constants§

PYTHON_EVIDENCE_CASES
Frozen cases spanning the profile’s claimed and refused behavior.
PYTHON_EXTERNAL_ORACLE
Exact external oracle used to freeze simple differential expectations. It is evidence only: never linked, spawned, imported, or used at runtime.
PYTHON_FIDELITY
Honest public fidelity statement for this profile.
PYTHON_OBJECT_CONTROL_GAPS
Deliberately unsupported Python object and control edges.

Statics§

RECIPES
Cookbook recipes for this profile, embedded at build time.

Traits§

ContextManager
Policy seam for Python’s synchronous context-manager protocol.
PythonHeapExt
Python-named graph operations over the shared heap and node.

Functions§

dynamic_python_policy
Build one Python dynamic-source entry over the shared source policy.
dynamic_python_policy_with_codec
Build one Python dynamic-source entry for an installed compatible codec.
install_python_core_profile
Install the profile. Collection is a runtime policy option, never a load prerequisite.
match_expr
Match an expression in declaration order using Shape captures and guards.
python_core_matrix_row
Build the Python core conformance row from source-level cases.
python_core_profile
Build the Python core profile, including capabilities and inspectable gaps.
python_core_source_cases
Checked source cases entering through codec/python.
python_library_manifest
Generate the public library manifest directly from the checked Python row.
python_module_policy
Build Python’s module entry over the shared source-module policy.
python_module_policy_with_codec
Build Python’s module entry for an installed compatible source codec.
python_profile_symbol
Stable symbol for the thin Python core profile.
run_with_context
Run one synchronous context extent, guaranteeing exit on both paths.

Type Aliases§

PythonCoroutine
A scheduler-free Python coroutine frame using the same checked send/throw transition contract as a generator.
PythonExceptionRef
Stable handle for an exception object owned by PythonExceptions.
PythonFunction
A Python function whose identity, plan, captures, callable surface, and reachability are supplied exclusively by the shared function and managed organs.
PythonHeap
Compatibility name for the shared managed heap instantiated for Python.
PythonHeapPolicy
Compatibility name for the shared heap policy.
PythonManagedObject
Compatibility name for Python’s role-bearing shared managed node.