cling
« Back to VersTracker
Description:
C++ interpreter
Type: Formula  |  Latest Version: 1.2@1  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: repl c++ interpreter llvm development
Install: brew install cling
About:
Cling is an interactive C++ interpreter built on the LLVM compiler infrastructure. It enables immediate feedback for C++ code execution without a separate compilation step. This makes it ideal for rapid prototyping, educational purposes, and exploring complex libraries interactively.
Key Features:
  • Interactive C++ REPL (Read-Eval-Print Loop)
  • Just-In-Time (JIT) compilation
  • Seamless interoperability with native C++
  • Built on industry-standard LLVM/Clang
Use Cases:
  • Learning and teaching C++ syntax and features
  • Data analysis and visualization using C++
  • Prototyping algorithms without build overhead
Alternatives:
  • CERN ROOT – Cling is actually a core component of the ROOT framework, but can be used standalone for general C++ interpretation.
  • Ch – A commercial C interpreter, whereas Cling is open-source and maintains full C++ standard compliance.
License: (LGPL-2.1-only OR NCSA) AND (Apache-2.0 WITH LLVM-exception)
Dependencies: zstd
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Nov 5, 2025 6:44am 1 VERSION_BUMP a583c412
Nov 5, 2025 6:44am 1 VERSION_BUMP afc86867
Sep 13, 2025 4:20am 0 VERSION_BUMP c3dd02c7