| 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_fullnameset I0, 5 -> set_i_ic set I0, I1 -> set_i_iObviously the registers must be examined before returning the correct opcode.NOTE: All this nasty IMC_TRACE is for tracking down equally nasty bugs, so if you don't like the looks of it, stay out, but please don't remove it. :) -Mel
int check_opint is_opstatic 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_opadd_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_cmpint imcc_vfprintfvoid imcc_initstatic void imcc_destroy_macro_valuesvoid imcc_destroy
|
|
|