李昂 e7e501ab73 !56 Support tuple literal
* 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.
2022-07-14 08:36:02 +00:00

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;
}