It is a simple Qt interface for cling, a C++ interpreter based on clang.
Interpreted C++ offers the possibility for the user to fiddle with the program using C/C++ - so "scripting" an app with C++ is possible - for whatever reason you'd like to use that. For example CERN's ROOT system uses a C++ interpreter (currently CINT, to be replaced by cling) to "handle and analyze large amounts of data in a very efficient way" - yes, also for finding the Higgs Boson ;)
I see it as a great way to teach C++ (trying stuff, fiddling with C++ without the compile/link cycle and the need to cope tool-chain technicalities for simple examples) and - coupled with the Qt interface - a great way to make first steps with Qt.
Interpreted C++ offers the possibility for the user to fiddle with the program using C/C++ - so "scripting" an app with C++ is possible - for whatever reason you'd like to use that. For example CERN's ROOT system uses a C++ interpreter (currently CINT, to be replaced by cling) to "handle and analyze large amounts of data in a very efficient way" - yes, also for finding the Higgs Boson ;)
I see it as a great way to teach C++ (trying stuff, fiddling with C++ without the compile/link cycle and the need to cope tool-chain technicalities for simple examples) and - coupled with the Qt interface - a great way to make first steps with Qt.
Of course, here's the obligatory screenshot:
Check it out at https://github.com/cptG/qling - feedback is welcome!
It's at a very early stage, there are lots of ideas waiting to be implemented.
Have fun,
Thomas
Keine Kommentare:
Kommentar veröffentlichen