blob: 51ff3b774c6fe7e233766a2bc0470828b8571b1c [file] [log] [blame]
Guido van Rossum3f5da241990-12-20 15:06:42 +00001/* Interfaces to parse and execute pieces of python code */
2
3void initall PROTO((void));
4
5int run PROTO((FILE *, char *));
6
7int run_script PROTO((FILE *, char *));
8int run_tty_1 PROTO((FILE *, char *));
9int run_tty_loop PROTO((FILE *, char *));
10
11int parse_string PROTO((char *, int, struct _node **));
12int parse_file PROTO((FILE *, char *, int, struct _node **));
13
14object *eval_node PROTO((struct _node *, char *, object *, object *));
15
16object *run_string PROTO((char *, int, object *, object *));
17object *run_file PROTO((FILE *, char *, int, object *, object *));
18object *run_err_node PROTO((int, struct _node *, char *, object *, object *));
19object *run_node PROTO((struct _node *, char *, object *, object *));
20
21void print_error PROTO((void));
22
23void goaway PROTO((int));