NAME ^

bcg.c Byte Code Generator (BCG) Public API implementation.

DESCRIPTION ^

The functions in this file implement the API defined in bcg.h, the public API for BCG.

Methods ^

List of methods imlemented in this file.

BCG_info *BCG_create(void)

This function create an instance of Byte Code Generator.

void BCG_destroy(BCG_info *bcg_info)

This methods destroys the specified instance of Byte Code Generator.

void BCG_start_code_gen(BCG_info *bcg_info)

TODO: Not yet documented!!!

void BCG_end_code_gen(BCG_info *bcg_info)

TODO: Not yet documented!!!

void BCG_start_sub(BCG_info *bcg_info, char *sub_name, char *pragma)

TODO: Not yet documented!!!

void BCG_end_sub(BCG_info *bcg_info)

TODO: Not yet documented!!!

void BCG_start_call(BCG_info *bcg_info, char *sub_name)

TODO: Not yet documented!!!

void BCG_end_call(BCG_info *bcg_info)

TODO: Not yet documented!!!

void BCG_start_op(BCG_info *bcg_info, char *op_name)

TODO: Not yet documented!!!

void BCG_end_op(BCG_info *bcg_info)

TODO: Not yet documented!!!

void BCG_var(BCG_info *bcg_info, char *var_name, char var_type)

TODO: Not yet documented!!!

void BCG_val(BCG_info *bcg_info, char *val, char val_type)

TODO: Not yet documented!!!

void BCG_label(BCG_info *bcg_info, char *label)

TODO: Not yet documented!!!

void BCG_print_pasm(BCG_info *bcg_info)

TODO: Not yet documented!!!

bcg_info_private *bcg_info_private_create(BCG_info *bcg_info)

TODO: Not yet documented!!!

void bcg_info_private_destroy(BCG_info *bcg_info, bcg_info_private *bcg_info_priv)

TODO: Not yet documented!!!

void bcg_info_add_unit(BCG_info *bcg_info, bcg_unit *unit)

TODO: Not yet documented!!!

static void set_state(BCG_info *bcg_info, bcg_state state)

TODO: Not yet documented!!!

static void unset_state(BCG_info *bcg_info, bcg_state state)

TODO: Not yet documented!!!

static int in_state(BCG_info *bcg_info, bcg_state state)

TODO: Not yet documented!!!

LICENSE ^

Copyright (C) 2006, The Perl Foundation.

This is free software; you may redistribute it and/or modify it under the same terms as Parrot.

AUTHOR ^

Vishal Soni <vishalrsoni@gmail.com>


parrot