![]() |
GNU PROLOG with UTF8 support
|
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <setjmp.h>
#include "engine_pl.h"
#include "bips_pl.h"
Macros | |
#define | OBJ_INIT Parse_Supp_Initializer |
#define | PARSE_SUPP_FILE |
#define | COMMA_ANY FALSE |
#define | GENERAL_TERM 0 |
#define | TRYING_PREFIX 1 |
#define | INSIDE_ANY_OP 2 |
#define | Unget_Token |
#define | Update_Last_Read_Position |
Functions | |
static void | Read_Next_Token (Bool comma_is_punct) |
static WamWord | Parse_Term (int cur_prec, int context, Bool comma_is_punct) |
static WamWord | Parse_Args_Of_Functor (int atom) |
static WamWord | Parse_Bracketed_Term (void) |
static WamWord | Parse_List (Bool can_be_empty) |
static WamWord | Create_Structure (int func, int arity, WamWord *arg) |
static int | Lookup_In_Dico_Var (char *name) |
static void | Parse_Error (char *err_msg) |
static void | Parse_Supp_Initializer (void) |
WamWord | Pl_Read_Term (StmInf *pstm, int parse_end_of_term) |
WamWord | Pl_Read_Atom (StmInf *pstm) |
WamWord | Pl_Read_Integer (StmInf *pstm) |
WamWord | Pl_Read_Number (StmInf *pstm) |
WamWord | Pl_Read_Token (StmInf *pstm) |
Variables | |
static StmInf * | pstm_i |
static Bool | tok_present |
static TokInf | unget_tok |
static sigjmp_buf | jumper |
static int | atom_var |
static int | atom_string |
static int | atom_punct |
static int | atom_atom |
static int | atom_back_quotes |
static int | atom_full_stop |
static int | atom_extend |
#define COMMA_ANY FALSE |
#define GENERAL_TERM 0 |
#define INSIDE_ANY_OP 2 |
#define OBJ_INIT Parse_Supp_Initializer |
#define PARSE_SUPP_FILE |
#define TRYING_PREFIX 1 |
#define Unget_Token |
#define Update_Last_Read_Position |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |