.. automodule:: tvm.script.parser :members: :imported-members:
Language variants register source syntax policies independently of their construction hooks. Namespace objects and lazy initialization callbacks are registered through :func:`tvm.script.parser.register_namespace` and :func:`tvm.script.parser.register_namespace_initializer`.
.. automodule:: tvm.script.parser.protocol_registry :members: constexpr, register_scalar_annotation, mutable_cell_decl, result_span, module_decorator, declaration_kind
The language variant aliases below share the public construction namespaces documented in :doc:`script`. Parser entry points above use the canonical frontend.
.. automodule:: tvm.script.parser.ir
.. automodule:: tvm.script.parser.relax
.. automodule:: tvm.script.parser.tirx