Subversion Repositories Kolibri OS

Rev

Rev 8475 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /* INCLUDE */
  2. #include "tp.c"
  3.  
  4. const char header[] = "TinyPy for KolibriOS";
  5.  
  6. int main(int argc, const char *argv[]) {
  7.     /* INIT */
  8.     tp_vm *tp = tp_init(argc, argv);
  9.     kolibri_init(tp);
  10.     CONSOLE_INIT(header);
  11.     tp_call(tp,"py2bc","tinypy",tp_None);
  12. //  con_printf("Done");
  13.     tp_deinit(tp);
  14.    
  15.     // Exit console
  16.     con_exit(0);
  17.    
  18.     // Exit program
  19.     return 0;
  20. }
  21.  
  22. /**/
  23.