Compiler code


Detailed Description

Compiler of instruction sets for the ALICE RCU.


Data Structures

struct  RCUC_set
 The set of compiled instructions. More...


Functions

RCUC_setRCUC_compile (const char *filename, int trace, int output)
void RCUC_free (struct RCUC_set *i)
u_int RCUC_push_file (const char *filename)
u_int RCUC_pop_file ()
u_int RCUC_error (const char *format,...)


Function Documentation

struct RCUC_set* RCUC_compile const char *  filename,
int  trace,
int  output
 

Compile the file named by filename, and return the compiled instruction set.

Parameters:
filename File to compile
trace whether to enable traces
output Output errors and messages to stderr
Returns:
Compiled instruction set, or NULL on error

u_int RCUC_error const char *  format,
... 
 

Flag a compilation error.

Parameters:
format The message format string
Returns:
Not used.

void RCUC_free struct RCUC_set i  ) 
 

Free the compiled instruction set.

Parameters:
i Instruction set to de-allocate

u_int RCUC_pop_file  ) 
 

Pop the most recently pushed file on the stack of file to compile.

Returns:

u_int RCUC_push_file const char *  filename  ) 
 

Push a file on-to the stack of files to process.

Parameters:
filename File name of file to push.
Returns:

Top of page Last update Fri Jul 21 19:48:34 2006
Copyright © 2004 Christian Holm Created by DoxyGen 1.3.5