nfengine icon indicating copy to clipboard operation
nfengine copied to clipboard

Integrate a scripting language to the engine

Open Witek902 opened this issue 10 years ago • 1 comments

Consided following languages:

  • Python (PyPy)
  • Lua
  • C# (Mono)
  • Java
  • JavaScript
  • AngelScript
  • Go

Consider introducing an abstraction layer allowing adding multiple scripting languages (to compare performance and possibilities and choose the best one).

Witek902 avatar Aug 15 '14 18:08 Witek902

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 ) Also: May be used to improve modules compile time

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/2

execute 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

blockspacer avatar Aug 24 '19 16:08 blockspacer