This site uses cookies. By continuing to use this site you agree to our use of cookies. To find out more, see our Privacy and Cookies policy.
The following article is Open access

Cling – The New Interactive Interpreter for ROOT 6

, , and

Published under licence by IOP Publishing Ltd
, , Citation V Vasilev et al 2012 J. Phys.: Conf. Ser. 396 052071 DOI 10.1088/1742-6596/396/5/052071

1742-6596/396/5/052071

Abstract

Cling is an interactive C++ interpreter, built on top of Clang and LLVM compiler infrastructure. Like its predecessor Cint, Cling realizes the read-print-evaluate-loop concept, in order to leverage rapid application development. Implemented as a small extension to LLVM and Clang, the interpreter reuses their strengths such as the praised concise and expressive compiler diagnostics. We show how to match the interpreter concept to the compiler library and generalize common set of requirements for building up an interactive interpreter. We reason the design and implementation decisions as solution to the challenge of implementing interpreter behaviour as an extension of the compiler library. We present the new features, e.g. how C++11 will come to Cling and how Cint-specific extensions are being adopted. We clarify the state of integration in the ROOT framework and the induced change set. We explain how ROOT dictionaries are simplified due to the new interpreter.

Export citation and abstract BibTeX RIS

Please wait… references are loading.
10.1088/1742-6596/396/5/052071