cling based C++ as scripting language / hot code reload
blockspacer opened this issue · 1 comments
cling based C++ as scripting language / hot code reload
Why? Able to run C++ script in runtime or compile it for max speed ( as in example https://github.com/derofim/cling-cmake )
HOT code reload
possible approaches:store app state
fix cling undo for files
https://root-forum.cern.ch/t/loading-unloading-class-as-interpreted-macro-in-cling-multiple-times/32976/2execute cling code to change callbacks & variables
nested cling::Interpreter with multiple cling::MetaProcessor
IDK how to do it, but you can create child cling::Interpreter
I'm not going to add a scripting language to Acid, if you require one feel free to implement it as a module to your project (I can't imagine it would be very hard for your specific usage).