Support tuples and list comprehension, albeit crude.
This commit is contained in:
@@ -116,7 +116,9 @@ py_obj_t rt_call_function_n(py_obj_t fun, int n_args, const py_obj_t *args);
|
||||
py_obj_t rt_call_method_1(py_obj_t fun, py_obj_t self);
|
||||
py_obj_t rt_call_method_2(py_obj_t fun, py_obj_t self, py_obj_t arg);
|
||||
py_obj_t rt_call_method_n(int n_args, const py_obj_t *args);
|
||||
py_obj_t rt_build_tuple(int n_args, py_obj_t *items);
|
||||
py_obj_t rt_build_list(int n_args, py_obj_t *items);
|
||||
py_obj_t rt_list_append(py_obj_t list, py_obj_t arg);
|
||||
py_obj_t rt_build_map(int n_args);
|
||||
py_obj_t rt_store_map(py_obj_t map, py_obj_t key, py_obj_t value);
|
||||
py_obj_t rt_build_set(int n_args, py_obj_t *items);
|
||||
|
||||
Reference in New Issue
Block a user