hydra.build.registry module

The translingual language registry: per-language build identity (name, coder package, family) as LanguageProfile records, so the build drivers read language properties instead of hardcoding name literals. See https://github.com/CategoricalData/hydra/issues/416 and https://github.com/CategoricalData/hydra/issues/559.

hydra.build.registry.all_language_names() → Sequence[str]

Every language name in the registry (the former ALL_LANGS constant).

hydra.build.registry.coder_package_for(name: str) → str

The distribution package for a language’s coder (data-driven; hydra-<name> fallback).

hydra.build.registry.family_for(name: str) → str

The build family of a language (jvm/python/lisp/haskell/typescript/go; empty for unknown).

hydra.build.registry.is_lisp_dialect(name: str) → bool

Whether a language’s family is ‘lisp’ (data-driven Lisp-dialect membership).