#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; } d class='logo' rowspan='2'>cgit logo index : iCE40/ghdl
[no description]
aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug017/wait1.vhdl
blob: fbea74af2927235a0c4cf4224c3112f78b596ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13