py: split runtime into map, obj, builtin.

This commit is contained in:
Damien
2013-12-17 18:27:24 +00:00
parent a1b2693161
commit 660365e14c
10 changed files with 1057 additions and 943 deletions

6
py/builtin.h Normal file
View File

@@ -0,0 +1,6 @@
py_obj_t py_builtin___repl_print__(py_obj_t o);
py_obj_t py_builtin_print(int n_args, const py_obj_t* args);
py_obj_t py_builtin_len(py_obj_t o_in);
py_obj_t py_builtin_abs(py_obj_t o_in);
py_obj_t py_builtin___build_class__(py_obj_t o_class_fun, py_obj_t o_class_name);
py_obj_t py_builtin_range(int n_args, const py_obj_t* args);