# root-project/cling

The cling C++ interpreter

Repository: https://github.com/root-project/cling
Canonical: https://ross.abutalabs.com/products/cling
Language: C++
License: NOASSERTION
License Family: other
Topics: jupyter, llvm, clang, interpreter, c-plus-plus
Last push: 2026-08-06T06:09:15+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 38, longevity 100
- inputs: {"age_days": 3891, "days_push": 27, "days_rel": 203, "gap_med": 427, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4182, forks 314 (observed 2026-08-28T04:08:38.441068+00:00)

## What it is
Cling is an interactive C++ interpreter built on top of Clang and LLVM, implementing a read-eval-print loop (REPL) for rapid C++ development. It also serves as the basis for a Jupyter kernel for C++.

## Use cases
- run C++ code interactively in a REPL
- prototype C++ snippets without compiling a full program
- use C++ in Jupyter notebooks
- teach and learn C++ with instant feedback
- incrementally evaluate C++ expressions and statements

## When to choose
- you want a REPL or interactive session for C++
- you need a C++ kernel for Jupyter
- you want rapid experimentation with C++ code using Clang-quality diagnostics

## When to avoid
- you need a production compiler toolchain rather than an interpreter
- you require fully supported prebuilt binaries for all platforms
- you need a lightweight tool without heavy LLVM/Clang dependencies

## Facets
- artifact type: library
- maturity: active
- function: interpreter, compiler, developer-tools
- domain: developer-tools, programming-languages, compilers
- platform: windows, cpp, python
- tags: repl, llvm, clang, jupyter-kernel, interactive-cpp, linux, macos

## Member repositories
- root-project/cling (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:38.441068+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:39.350977+00:00, confidence not recorded.
  - readme: https://github.com/root-project/cling (fetched 2026-08-28T04:08:38.441068+00:00, sha f811a6dba39f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
