Cling interprets C++¶
Cling is an interactive C++ interpreter built on top of Clang and LLVM. It uses LLVM’s Just-In-Time (JIT) compiler to provide a fast and optimized compilation pipeline. Cling uses the read-eval-print-loop (REPL) approach, making rapid application development in C++ possible, avoiding the classic edit-compile-run-debug cycle approach.
Cling’s last release, download instructions, dependencies, and any other useful information for developers can be found on Cling’s GitHub webpage.
Find out more about Interpreting C++ on the Compiler Research Group’s webpage.
Table of Contents¶
- 1. When and why was Cling developed?
- 2. Interactivity in C++ with Cling
- 3. Used Technology
- 4. Cling is (also, but not only) REPL
- 5. Command Line
- 6. Once we start Cling it automatically includes several header files and its own runtime universe. Thus it creates the minimal environment for the user to start.
- 7. Applications
- 8. Conclusion
- 9. Literature
Note
This project is under active development. Cling has its documentation hosted on Read the Docs.