src/basilisp/lang/compiler/__init__.py
def _bootstrap_module(
    gctx: GeneratorContext,
    optimizer: PythonASTOptimizer,
    mod: types.ModuleType,
    collect_bytecode: Optional[BytecodeCollector] = None,
) -> None:
    """Bootstrap a new module with imports and other boilerplate."""
    _incremental_compile_module(
        optimizer,
        py_module_preamble(gctx),
        mod,
        source_filename=gctx.filename,
        collect_bytecode=collect_bytecode,
    )
    mod.__basilisp_bootstrapped__ = True
def _bootstrap_module(
    gctx: GeneratorContext,
    optimizer: PythonASTOptimizer,
    mod: types.ModuleType,
    collect_bytecode: Optional[BytecodeCollector] = None,
) -> None:
    """Bootstrap a new module with imports and other boilerplate."""
    _incremental_compile_module(
        optimizer,
        py_module_preamble(gctx),
        mod,
        source_filename=gctx.filename,
        collect_bytecode=collect_bytecode,
    )
    mod.__basilisp_bootstrapped__ = True
def _bootstrap_module ( gctx : GeneratorContext , optimizer : PythonASTOptimizer , mod : types . ModuleType , collect_bytecode : Optional [ BytecodeCollector ] = None , ) -> None : _incremental_compile_module ( optimizer , py_module_preamble ( gctx ) , mod , source_filename = gctx . filename , collect_bytecode = collect_bytecode , ) mod . __basilisp_bootstrapped__ = True
Bootstrap a new module with imports and other boilerplate.
Bootstrap a new module with imports and other boilerplate .