78035b995f
Convert int types to uint where sensible, and then to uint8_t or uint16_t where possible to reduce RAM usage.
11 lines
270 B
C
11 lines
270 B
C
// These must fit in 8 bits; see scope.h
|
|
enum {
|
|
MP_EMIT_OPT_NONE,
|
|
MP_EMIT_OPT_BYTE_CODE,
|
|
MP_EMIT_OPT_NATIVE_PYTHON,
|
|
MP_EMIT_OPT_VIPER,
|
|
MP_EMIT_OPT_ASM_THUMB,
|
|
};
|
|
|
|
mp_obj_t mp_compile(mp_parse_node_t pn, qstr source_file, uint emit_opt, bool is_repl);
|