2021-02-19 15:25:15 +03:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <kuroko/kuroko.h>
|
|
|
|
#include <kuroko/vm.h>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]) {
|
|
|
|
krk_initVM(0);
|
|
|
|
krk_startModule("__main__");
|
2021-02-25 02:17:19 +03:00
|
|
|
krk_interpret("import kuroko\nprint('Kuroko',kuroko.version)\n", "<stdin>");
|
2021-02-19 15:25:15 +03:00
|
|
|
krk_freeVM();
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|