Implement on-board python interpreter
Executable dg-python emulates a minimal python interpreter. The interpreter is able to - execute single statements: (import, print,...), - evaluate expressions. Expressions and statements are separated by semi-colons. Several statements and/or evaluations between two semi-colons yield an undefined behavior.
Showing
- CMakeLists.txt 6 additions, 1 deletionCMakeLists.txt
- include/CMakeLists.txt 21 additions, 0 deletionsinclude/CMakeLists.txt
- include/dynamic-graph/python/api.hh 20 additions, 0 deletionsinclude/dynamic-graph/python/api.hh
- include/dynamic-graph/python/interpreter.hh 60 additions, 0 deletionsinclude/dynamic-graph/python/interpreter.hh
- src/CMakeLists.txt 26 additions, 0 deletionssrc/CMakeLists.txt
- src/dg-python.cc 134 additions, 0 deletionssrc/dg-python.cc
- src/interpreter.cc 123 additions, 0 deletionssrc/interpreter.cc
Loading
Please register or sign in to comment