Skip to main content

Module emitter

Module emitter 

Source
Expand description

IDL → Python codegen — emit logic.

Generates, for an IDL specification, a Python module that uses the @idl_struct(typename=...)/@dataclass convention of the zerodds-py crate. Generated classes are usable directly with zerodds.IdlTopic(MyClass).

Structs§

PythonGenOptions
Codegen options for Python modules.

Functions§

generate_python_module
Codegen entry point — IDL spec → complete Python source.