Retrieve a registered custom compiler by name.
- Parameters:
- namestr
Compiler name.
- Returns:
- CustomCompilerProtocol
The registered compiler callable.
- Raises:
- KeyError
If no compiler with that name is registered.
- Parameters:
name (str)
- Return type:
CustomCompilerProtocol