tinypy: removed unused file.
git-svn-id: svn://kolibrios.org@1927 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
76552b688d
commit
4830da3065
@ -1,24 +0,0 @@
|
||||
#include "tp.c"
|
||||
|
||||
const char header[]="TinyPy for kolibriOS";
|
||||
const int argc = 2;
|
||||
|
||||
void main(void) {
|
||||
char *argv[2]={"tpmain", ""};
|
||||
|
||||
CONSOLE_INIT(header);
|
||||
con_printf("TinyPy console, version 1.1.\n");
|
||||
con_printf("Enter program file:");
|
||||
if (!(argv[1] = malloc(256)))
|
||||
con_printf("Memory error\n");
|
||||
con_gets(argv[1], 256);
|
||||
argv[1][strlen(argv[1]) - 1] = '\0';
|
||||
con_printf("Running file %s\n", argv[1]);
|
||||
tp_vm *tp = tp_init(argc, argv);
|
||||
|
||||
tp_call(tp,"py2bc","tinypy",tp_None);
|
||||
tp_deinit(tp);
|
||||
return;
|
||||
}
|
||||
|
||||
/**/
|
Loading…
Reference in New Issue
Block a user