| parrotcode: compilers/imcc/parser_util.c | |
| Contents | Compilers |

compilers/imcc/parser_util.c

ParserUtil - Parser support functions.

Instruction *iNEW * P = new type, [init]
* PASM like:
* new P, 'SomeThing'
* is done in the lexer, this is a mess
* best would be to have a flag in core.ops, where a PMC type is expected
void op_fullname set I0, 5 -> set_i_ic
set I0, I1 -> set_i_i
int check_opint is_opstatic const char *to_infixstatic int is_infixstatic Instruction *var_arg_insInstruction *INSint do_yylex_initPMC *imcc_compilePMC *imcc_compile_pasm * Note: This function is provided for backward compatibility. This
* function can go away in future.
PMC *imcc_compile_pir * Note: This function is provided for backward compatibility. This
* function can go away in future.
PMC *IMCC_compile_pir_sPMC *IMCC_compile_pasm_sPMC *imcc_compile_pasm_exPMC *imcc_compile_pir_exstatic void *imcc_compile_filevoid *IMCC_compile_file * Note: This function is provided for backward compatibility. This
* function can go away in future.
void *IMCC_compile_file_svoid register_compilersstatic int change_opint try_find_op add_n_i_n => add_n_n_i
div_n_ic_n => div_n_nc_n
div_n_i_n => set_n_i ; div_n_n_n
ge_n_ic_ic => ge_n_nc_ic
acos_n_i => acos_n_n
static const char *try_rev_cmpInstruction *multi_keyedint imcc_fprintfint imcc_vfprintfvoid imcc_initvoid imcc_destroy
|
|
|