group Compiler

Description

Not all the compiler functions are documented, this is because they are internal and dont concern anyone but the compiler hackers. If you are a compiler hacker you should not need function descriptions :)

group attributes
function ferite_compiler_keep_native_code() - Tell ferite to keep the native code that is found within the compiled scripts
function ferite_script_include() - This is used to include another script at runtime
function ferite_script_eval() - This is used to evalutate a string as a script at runtime
function ferite_script_compile() - Compile a script with the default search paths
function ferite_script_compile_with_path() - Compile a script with the default search paths aswell as an extra set
function ferite_compile_string() - Compile a string with the default search paths
function ferite_compile_string_with_path() - Compile a str with the default search paths aswell as an extra set

Functions

function ferite_compiler_keep_native_code Click to go up to the list
Tell ferite to keep the native code that is found within the compiled scripts
Declaration:
    void ferite_compiler_keep_native_code()

function ferite_script_include Click to go up to the list
This is used to include another script at runtime
Declaration:
    FeriteVariable *ferite_script_include( FeriteScript *script, char *filename )
Description:
This is a runtime equivelent to:

uses "foo";

Parameters:
    Parameter #1: FeriteScript *script - The script to include into
    Parameter #2: char *filename - The name of the script to include
Returns:
    The value that is returned after executing the 'main' body of the included script

function ferite_script_eval Click to go up to the list
This is used to evalutate a string as a script at runtime
Declaration:
    FeriteVariable *ferite_script_eval( FeriteScript *script, char *str )
Parameters:
    Parameter #1: FeriteScript *script - The script to include into
    Parameter #2: char *str - The string to evaulate
Returns:
    The value that is returned after executing the 'main' body of the evaluated script

function ferite_script_compile Click to go up to the list
Compile a script with the default search paths
Declaration:
    FeriteScript *ferite_script_compile( char *filename )
Parameters:
    Parameter #1: char *filename - The name of the script to compile
Returns:
    A script which can either be executed or contains error information

function ferite_script_compile_with_path Click to go up to the list
Compile a script with the default search paths aswell as an extra set
Declaration:
    FeriteScript *ferite_script_compile_with_path( char *filename, char **paths )
Parameters:
    Parameter #1: char *filename - The name of the script to compile
    Parameter #2: char **paths - A NULL terminated array of paths to add during compilation
Returns:
    A script which can either be executed or contains error information

function ferite_compile_string Click to go up to the list
Compile a string with the default search paths
Declaration:
    FeriteScript *ferite_compile_string( char *str )
Parameters:
    Parameter #1: char *str - The string to compile
Returns:
    A script which can either be executed or contains error information

function ferite_compile_string_with_path Click to go up to the list
Compile a str with the default search paths aswell as an extra set
Declaration:
    FeriteScript *ferite_compile_string_with_path( char *str, char **paths )
Parameters:
    Parameter #1: char *str - The script to compile
    Parameter #2: char **paths - A NULL terminated array of paths to add during compilation
Returns:
    A script which can either be executed or contains error information

Automatically generated at 8:45pm, Wednesday 08 January 2003 by feritedoc.