blob: 10fd603f2e84c4ce76d7fb304ca67cdc5cccf1d9 [file] [log] [blame]
Damien George78035b92014-04-09 12:27:39 +01001// These must fit in 8 bits; see scope.h
Damien George65cad122014-04-06 11:48:15 +01002enum {
3 MP_EMIT_OPT_NONE,
4 MP_EMIT_OPT_BYTE_CODE,
5 MP_EMIT_OPT_NATIVE_PYTHON,
6 MP_EMIT_OPT_VIPER,
7 MP_EMIT_OPT_ASM_THUMB,
8};
9
10mp_obj_t mp_compile(mp_parse_node_t pn, qstr source_file, uint emit_opt, bool is_repl);