mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
e7e501ab73
* Merge branch 'master' into tuple * sue SyntaxItemList * cut the parser * update preCompiler * not use tiny_obj in stdlib * use BUILTIN_STRUCT_ENABLE for list, dict, tuple * add PikaStdData.Tuple() * !51 Support bind .pyi from other *.py expect main.py * fix overflow issue * fix overflow issue and simplification code * update PikaCV_Image.c.
29 lines
658 B
C
29 lines
658 B
C
#include <stdarg.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include "BaseObj.h"
|
|
#include "PikaCompiler.h"
|
|
#include "PikaObj.h"
|
|
#include "PikaParser.h"
|
|
#include "dataStrs.h"
|
|
#include "libpikabinder.h"
|
|
|
|
/* fake implement */
|
|
PikaObj* __pikaMain;
|
|
void New_PikaStdLib_SysObj(void){}
|
|
void New_PikaStdData_List(void) {}
|
|
void New_PikaStdData_Dict(void) {}
|
|
void New_PikaStdData_Tuple(void) {}
|
|
|
|
void main() {
|
|
/* run pika_binder to bind C modules */
|
|
pika_binder();
|
|
|
|
PikaMaker* maker = New_PikaMaker();
|
|
pikaMaker_compileModuleWithDepends(maker, "main");
|
|
pikaMaker_linkCompiledModules(maker, "pikaModules.py.a");
|
|
obj_deinit(maker);
|
|
|
|
return;
|
|
}
|