2022-10-14 19:44:31 +03:00
Cling interprets C++
====================
2022-09-14 12:05:31 +03:00
2022-10-14 19:44:31 +03:00
.. figure :: images/fig1.jpeg
2022-09-14 12:05:31 +03:00
2022-10-14 19:44:31 +03:00
**Cling** is an interactive C++ interpreter built on top of `Clang
<https://clang.llvm.org/> `_ and `LLVM <https://llvm.org/> `_ . It uses LLVM's
*Just-In-Time* (`JIT <https://en.wikipedia.org/wiki/Just-in-time_compilation> `_ )
compiler to provide a fast and optimized compilation pipeline. Cling uses the
`read-eval-print-loop
<https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop> `_
(**REPL** ) approach, making rapid application development in C++ possible,
avoiding the classic edit-compile-run-debug cycle approach.
2022-09-14 12:05:31 +03:00
2022-10-14 19:44:31 +03:00
Cling's last release, download instructions, dependencies, and any other useful
information for developers can be found on `Cling's GitHub webpage
<https://github.com/vgvassilev/cling> `_.
Find out more about **Interpreting C++** on the `Compiler Research Group
<https://compiler-research.org/> `_'s webpage.
Table of Contents
-----------------
.. toctree ::
:numbered:
chapters/background
chapters/interactivity
2022-11-09 11:54:40 +03:00
chapters/why_interpreting
2022-10-14 19:44:31 +03:00
chapters/implementation
chapters/REPL
chapters/grammar
2022-11-09 11:54:40 +03:00
chapters/applications
2022-10-14 19:44:31 +03:00
chapters/conclusion
2022-11-09 11:54:40 +03:00
chapters/references
2022-10-14 19:44:31 +03:00
.. note ::
This project is under active development.
Cling has its documentation hosted on Read the Docs.
2022-11-09 11:54:40 +03:00