mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
22 lines
474 B
C
22 lines
474 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"
|
|
|
|
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;
|
|
}
|