Rev 2073 | Rev 8475 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1913 | jaeger | 1 | #include "tp.c" |
2 | /* INCLUDE */ |
||
3 | const char header[]="TinyPy for kolibriOS"; |
||
2048 | jaeger | 4 | |
8473 | maxcodehac | 5 | extern void (*kolibri_dbg_init)(tp_vm *tp) __attribute__((__stdcall__)); |
6 | |||
2073 | jaeger | 7 | void main(int argc, const char *argv[]) { |
1913 | jaeger | 8 | tp_vm *tp = tp_init(argc, argv); |
8473 | maxcodehac | 9 | // kolibri_dbg_init(tp); |
2001 | jaeger | 10 | kolibri_init(tp); |
2073 | jaeger | 11 | CONSOLE_INIT(header); |
1913 | jaeger | 12 | /* INIT */ |
13 | tp_call(tp,"py2bc","tinypy",tp_None); |
||
2073 | jaeger | 14 | con_printf("Done"); |
1913 | jaeger | 15 | tp_deinit(tp); |
2039 | jaeger | 16 | kol_exit(); |
1913 | jaeger | 17 | return; |
18 | } |
||
19 | |||
20 | /**/ |