Laurent MOULIN / Mbed 2 deprecated tinypy

Dependencies:   mbed

Committer:
gignops
Date:
Sun Oct 07 11:49:09 2012 +0000
Revision:
0:4ab1392a0142
This project is an adaptation of tinypy code. The aim is to run python code on Mbed.; ; Have fun !

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gignops 0:4ab1392a0142 1 #ifndef VM_H
gignops 0:4ab1392a0142 2 #define VM_H
gignops 0:4ab1392a0142 3
gignops 0:4ab1392a0142 4 #include "tp.h"
gignops 0:4ab1392a0142 5 #include "list.h"
gignops 0:4ab1392a0142 6 #include "gc.h"
gignops 0:4ab1392a0142 7 #include "builtins.h"
gignops 0:4ab1392a0142 8 #include "ops.h"
gignops 0:4ab1392a0142 9
gignops 0:4ab1392a0142 10 tp_vm *_tp_init(void);
gignops 0:4ab1392a0142 11 void tp_deinit(TP);
gignops 0:4ab1392a0142 12 void tp_frame(TP,tp_obj globals,tp_code *codes,tp_obj *ret_dest);
gignops 0:4ab1392a0142 13 void _tp_raise(TP,tp_obj e);
gignops 0:4ab1392a0142 14 void tp_print_stack(TP);
gignops 0:4ab1392a0142 15 void tp_handle(TP);
gignops 0:4ab1392a0142 16 void _tp_call(TP,tp_obj *dest, tp_obj fnc, tp_obj params);
gignops 0:4ab1392a0142 17 void tp_return(TP, tp_obj v);
gignops 0:4ab1392a0142 18 int tp_step(TP);
gignops 0:4ab1392a0142 19 void tp_run(TP,int cur);
gignops 0:4ab1392a0142 20 tp_obj tp_call(TP, const char *mod, const char *fnc, tp_obj params);
gignops 0:4ab1392a0142 21 tp_obj tp_import(TP, char const *fname, char const *name, void *codes);
gignops 0:4ab1392a0142 22 tp_obj tp_exec_(TP);
gignops 0:4ab1392a0142 23 tp_obj tp_import_(TP);
gignops 0:4ab1392a0142 24 void tp_builtins(TP);
gignops 0:4ab1392a0142 25 void tp_args(TP,int argc, char *argv[]);
gignops 0:4ab1392a0142 26 tp_obj tp_main(TP,char *fname, void *code);
gignops 0:4ab1392a0142 27 tp_obj tp_compile(TP, tp_obj text, tp_obj fname);
gignops 0:4ab1392a0142 28 tp_obj tp_exec(TP,tp_obj code, tp_obj globals);
gignops 0:4ab1392a0142 29 tp_obj tp_eval(TP, char *text, tp_obj globals);
gignops 0:4ab1392a0142 30 tp_vm *tp_init(int argc, char *argv[]);
gignops 0:4ab1392a0142 31
gignops 0:4ab1392a0142 32 #endif