mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
34 lines
822 B
C
34 lines
822 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 New_PikaStdData_String(void) {}
|
|
void New_PikaStdData_ByteArray(void) {}
|
|
char* string_slice(Args * outBuffs, char* str, int start, int end){
|
|
return NULL;
|
|
}
|
|
|
|
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;
|
|
}
|