i'm trying determine whether can use chaiscript far i'm concerned there doesn't seem way compile script use later. problem if script has called hundreds of times per second, example.
all examples i've found refer c++ function called eval takes entire script argument , runs it.
so possible separate compile , run steps?
your comment:
from experiments, looks use eval request reference function , can invoke function multiple times directly. invoke compiled code directly?
this best way handle it. eval
parse code once. when take std::function
result , call that, calling script efficient way can.