Cling, run C/C++ as script
Based on Clang and with the LLVM
How can IntelliSense from your IDE/Editor know if the code is it right without even compiling? This is possible thanks to cling style technology.
Cling is an interactive C++ interpreter, built on the LLVM and Clang. Its advantages over standard interpreters are that it has command line prompt and uses just-in-time (JIT) compiler for compilation. Many of the developers of these types of software applications call them interactive compilers.
One of Cling’s main goals was to provide a contemporary, high-performance alternative to the first C++ interpreter in the ROOT - CINT project. Backward compatibility with CINT was a top priority during development.
Just download the script Python, give execution permission and run:
The truth is that this construction process will take a long time, the cling is huge! Then see how to install the binary below.
As of the publication date of this article this is the latest version, for other versions and binaries see here .
If you want to omit
You can also enter a subshell by just running:
For more usage tips visit the addresses: