INNER CODE UNIT · Python

render

lean-dojo/TorchLean · scripts/generate_unicode_table.py:147

def render(intervals: list[tuple[int, int, int]]) -> str:
    """Render the deterministic Lean module."""
    table = render_table(intervals)
    return f"""\
/-
Copyright (c) 2026 TorchLean contributors
Released under MIT license as described in the file LICENSE.
Authors: TorchLean contributors
-/
module

/-!
# Generated Python Unicode properties

This file is generated by `scripts/generate_unicode_table.py`; do not edit it by hand. It
freezes the CPython 3.12.13 character predicates for Unicode 15.0.0 that the einops lexer
reproduces.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…