Numworks Epsilon  1.4.1
Graphing Calculator Operating System
compile.h File Reference
#include "py/lexer.h"
#include "py/parse.h"
#include "py/emitglue.h"

Go to the source code of this file.

Enumerations

enum  {
  MP_EMIT_OPT_NONE, MP_EMIT_OPT_BYTECODE, MP_EMIT_OPT_NATIVE_PYTHON, MP_EMIT_OPT_VIPER,
  MP_EMIT_OPT_ASM
}
 

Functions

mp_obj_t mp_compile (mp_parse_tree_t *parse_tree, qstr source_file, uint emit_opt, bool is_repl)
 
mp_obj_t mp_parse_compile_execute (mp_lexer_t *lex, mp_parse_input_kind_t parse_input_kind, mp_obj_dict_t *globals, mp_obj_dict_t *locals)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MP_EMIT_OPT_NONE 
MP_EMIT_OPT_BYTECODE 
MP_EMIT_OPT_NATIVE_PYTHON 
MP_EMIT_OPT_VIPER 
MP_EMIT_OPT_ASM 

Definition at line 34 of file compile.h.

Function Documentation

◆ mp_compile()

mp_obj_t mp_compile ( mp_parse_tree_t parse_tree,
qstr  source_file,
uint  emit_opt,
bool  is_repl 
)

◆ mp_parse_compile_execute()

mp_obj_t mp_parse_compile_execute ( mp_lexer_t lex,
mp_parse_input_kind_t  parse_input_kind,
mp_obj_dict_t globals,
mp_obj_dict_t locals 
)