# Building custom interpreter in ROOT

**URL:** <https://root-forum.cern.ch/t/building-custom-interpreter-in-root/52988>\
**Category:** Newbie\
**Created:** [January 4, 2023, 9:52pm UTC](https://root-forum.cern.ch/t/building-custom-interpreter-in-root/52988 "2023-01-04T21:52:55Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [January 18, 2023, 8:55am UTC](https://root-forum.cern.ch/t/building-custom-interpreter-in-root/52988/5 "2023-01-18T08:55:38Z")

</div>

For me it’s obvious: “` __CLING__ `” is defined in “interpreted code” and not in “(pre)compiled code”.

> [@ROOT 6 / CLING / rootcling replacements for (\_\_CINT\_\_), (\_\_MAKECINT\_\_) and (\_\_ACLIC\_\_) macros](https://root-forum.cern.ch/t/root-6-cling-rootcling-replacements-for-cint-makecint-and-aclic-macros/27698):
>
> I am looking for ROOT 6 / CLING / rootcling replacements for ROOT 5 / CINT / rootcint macros \_\_CINT\_\_, \_\_MAKECINT\_\_ and \_\_ACLIC\_\_ (I would like to get rid of any ROOT 5 / CINT / rootcint dependencies in new ROOT 6 / CLING / rootcling source code): #if defined(\_\_CINT\_\_) && !defined(\_\_MAKECINT\_\_) // source code being actually interpreted by cint #elif defined(\_\_MAKECINT\_\_) // source code seen by rootcint only #elif defined(\_\_ACLIC\_\_) // source code being actually compiled by ACLiC #else // source…

---

_[View the full topic](https://root-forum.cern.ch/t/building-custom-interpreter-in-root/52988)._
