src/basilisp/lang/compiler/generator.py
def gen_py_ast(ctx: GeneratorContext, lisp_ast: Node) -> GeneratedPyAST:
    """Take a Lisp AST node as an argument and produce zero or more Python
    AST nodes.

    This is the primary entrypoint for generating AST nodes from Lisp
    syntax. It may be called recursively to compile child forms."""
    op: NodeOp = lisp_ast.op
    assert op is not None, "Lisp AST nodes must have an :op key"
    handle_node = _NODE_HANDLERS.get(op)
    assert (
        handle_node is not None
    ), f"Lisp AST nodes :op has no handler defined for op {op}"
    return handle_node(ctx, lisp_ast)
def gen_py_ast(ctx: GeneratorContext, lisp_ast: Node) -> GeneratedPyAST:
    op: NodeOp = lisp_ast.op
    assert op is not None, "Lisp AST nodes must have an :op key"
    handle_node = _NODE_HANDLERS.get(op)
    assert (
        handle_node is not None
    ), f"Lisp AST nodes :op has no handler defined for op {op}"
    return handle_node(ctx, lisp_ast)
def gen_py_ast ( ctx : GeneratorContext , lisp_ast : Node ) -> GeneratedPyAST : op : NodeOp = lisp_ast . op assert op is not None , "Lisp AST nodes must have an :op key" handle_node = _NODE_HANDLERS . get ( op ) assert ( handle_node is not None ) , f"Lisp AST nodes :op has no handler defined for op {op}" return handle_node ( ctx , lisp_ast )
Take a Lisp AST node as an argument and produce zero or more Python
    AST nodes.

    This is the primary entrypoint for generating AST nodes from Lisp
    syntax. It may be called recursively to compile child forms.
Take a Lisp AST node as an argument and produce zero or more Python AST nodes .