Skip to content
Snippets Groups Projects
Select Git revision
  • 8721087661ea607ea68d45b4e518e53607cadbd3
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

compile.h

Blame
  • compile.h 270 B
    // 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);