GNU PROLOG with UTF8 support
Macros | Functions
read_c.c File Reference
#include "engine_pl.h"
#include "bips_pl.h"
Include dependency graph for read_c.c:

Macros

#define CURRENT_CHAR_CONVERSION_ALT   X1_2463757272656E745F636861725F636F6E76657273696F6E5F616C74
 
#define CHECK_STREAM_AND_GET_STM(sora_word, stm)
 
#define CHECK_RESULT_AND_UNIFY(returned_word, term_word)
 
#define Find_Next_Char_Conversion(c_in, c_out)
 

Functions

 Prolog_Prototype (CURRENT_CHAR_CONVERSION_ALT, 0)
 
Bool Pl_Read_Term_5 (WamWord sora_word, WamWord term_word, WamWord vars_word, WamWord var_names_word, WamWord sing_names_word)
 
Bool Pl_Read_Term_4 (WamWord term_word, WamWord vars_word, WamWord var_names_word, WamWord sing_names_word)
 
Bool Pl_Read_1 (WamWord term_word)
 
Bool Pl_Read_2 (WamWord sora_word, WamWord term_word)
 
Bool Pl_Read_Atom_2 (WamWord sora_word, WamWord atom_word)
 
Bool Pl_Read_Atom_1 (WamWord atom_word)
 
Bool Pl_Read_Integer_2 (WamWord sora_word, WamWord integer_word)
 
Bool Pl_Read_Integer_1 (WamWord integer_word)
 
Bool Pl_Read_Number_2 (WamWord sora_word, WamWord number_word)
 
Bool Pl_Read_Number_1 (WamWord number_word)
 
Bool Pl_Read_Token_2 (WamWord sora_word, WamWord token_word)
 
Bool Pl_Read_Token_1 (WamWord token_word)
 
Bool Pl_Last_Read_Start_Line_Column_2 (WamWord line_word, WamWord col_word)
 
void Pl_Char_Conversion_2 (WamWord in_char_word, WamWord out_char_word)
 
Bool Pl_Current_Char_Conversion_2 (WamWord in_char_word, WamWord out_char_word)
 
Bool Pl_Current_Char_Conversion_Alt_0 (void)
 

Macro Definition Documentation

#define CHECK_RESULT_AND_UNIFY (   returned_word,
  term_word 
)
Value:
if (returned_word == NOT_A_WAM_WORD) \
{ \
? Flag_Value(syntax_error) \
return FALSE; \
} \
\
if (!Pl_Unify(word, term_word)) \
return FALSE
Bool FC Pl_Unify(WamWord start_u_word, WamWord start_v_word)
#define FALSE
Definition: bool.h:49
void Pl_Syntax_Error(int flag_value)
Definition: error_supp.c:455
#define NOT_A_WAM_WORD
Definition: wam_inst.h:48
#define Flag_Value(f)
Definition: flag_supp.h:139
#define SYS_VAR_SYNTAX_ERROR_ACTON
Definition: flag_supp.h:159
#define CHECK_STREAM_AND_GET_STM (   sora_word,
  stm 
)
Value:
stm = (sora_word == NOT_A_WAM_WORD) \
\
pl_last_input_sora = sora_word; \
WamWord pl_last_input_sora
int Pl_Get_Stream_Or_Alias(WamWord sora_word, int test)
Definition: stream_supp.c:793
int pl_stm_input
#define TRUE
Definition: bool.h:60
#define NOT_A_WAM_WORD
Definition: wam_inst.h:48
void Pl_Check_Stream_Type(int stm, Bool check_text, Bool for_input)
Definition: stream_supp.c:868
#define STREAM_CHECK_INPUT
Definition: stream_supp.h:75
#define CURRENT_CHAR_CONVERSION_ALT   X1_2463757272656E745F636861725F636F6E76657273696F6E5F616C74
#define Find_Next_Char_Conversion (   c_in,
  c_out 
)
Value:
while (++c_in < 256) \
{ \
c_out = pl_char_conv[c_in]; \
if (c_in != c_out) \
break; \
}
char pl_char_conv[]

Function Documentation

void Pl_Char_Conversion_2 ( WamWord  in_char_word,
WamWord  out_char_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Current_Char_Conversion_2 ( WamWord  in_char_word,
WamWord  out_char_word 
)

Here is the call graph for this function:

Bool Pl_Current_Char_Conversion_Alt_0 ( void  )

Here is the call graph for this function:

Bool Pl_Last_Read_Start_Line_Column_2 ( WamWord  line_word,
WamWord  col_word 
)

Here is the call graph for this function:

Bool Pl_Read_1 ( WamWord  term_word)

Here is the call graph for this function:

Bool Pl_Read_2 ( WamWord  sora_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Read_Atom_1 ( WamWord  atom_word)

Here is the call graph for this function:

Bool Pl_Read_Atom_2 ( WamWord  sora_word,
WamWord  atom_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Read_Integer_1 ( WamWord  integer_word)

Here is the call graph for this function:

Bool Pl_Read_Integer_2 ( WamWord  sora_word,
WamWord  integer_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Read_Number_1 ( WamWord  number_word)

Here is the call graph for this function:

Bool Pl_Read_Number_2 ( WamWord  sora_word,
WamWord  number_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Read_Term_4 ( WamWord  term_word,
WamWord  vars_word,
WamWord  var_names_word,
WamWord  sing_names_word 
)

Here is the call graph for this function:

Bool Pl_Read_Term_5 ( WamWord  sora_word,
WamWord  term_word,
WamWord  vars_word,
WamWord  var_names_word,
WamWord  sing_names_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Read_Token_1 ( WamWord  token_word)

Here is the call graph for this function:

Bool Pl_Read_Token_2 ( WamWord  sora_word,
WamWord  token_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Prolog_Prototype ( CURRENT_CHAR_CONVERSION_ALT  ,
 
)