#include #include "Interpreter.h" int main( int argc, char *argv[] ) { std::string commands[] = { "from time import time,ctime\n", "print('Today is',ctime(time()))\n" }; Interpreter::Initialize( ); Interpreter* interpreter = new Interpreter; for ( int i = 0; i < 2; ++i ) { int err; std::string res = interpreter->interpret( commands[i], &err ); std::cout << res; } delete interpreter; Interpreter::Finalize( ); return 0; } ' alt='cgit logo'/> index : xen/xen
xenJames
aboutsummaryrefslogtreecommitdiffstats
path: root/config/OpenBSD.mk
blob: b421a1c840954ffb6868f4cbcfd532eebee78f1a (plain)
1