ikaros-project / ikaros

An open infrastructure for system level brain modeling
GNU Affero General Public License v3.0
22 stars 23 forks source link

Feature request: Interpreter module for scripting languages #49

Open trondarild opened 6 years ago

trondarild commented 6 years ago

This is a reminder-to-self request: An interpreter module should use one of several supported interpreters to run a script file given by a parameter. First language to support should be python, but others could be implemented later, like javascript. Some IO hooks need to be defined to let data flow in and out of the script. Such a module should hopefully make it easier to use resources like the OpenAI gym, or integrate with TensorFlow etc.

trondarild commented 6 years ago

Documentation for calling python from C++: https://docs.python.org/2/extending/embedding.html

Passing arrays to and fro: https://ubuntuforums.org/showthread.php?t=1266059