|
enum | enc { ENC_SINGLEBYTE,
ENC_UTF8,
ENC_WIDECHARS
} |
|
enum | token_codes {
c_among = 4,
c_and,
c_as,
c_assign,
c_assignto,
c_atleast,
c_atlimit,
c_atmark,
c_attach,
c_backwardmode,
c_backwards,
c_booleans,
c_bra,
c_comment1,
c_comment2,
c_cursor,
c_debug,
c_decimal,
c_define,
c_delete,
c_divide,
c_divideassign,
c_do,
c_dollar,
c_eq,
c_externals,
c_fail,
c_false,
c_for,
c_ge,
c_get,
c_gopast,
c_goto,
c_gr,
c_groupings,
c_hex,
c_hop,
c_insert,
c_integers,
c_ket,
c_le,
c_leftslice,
c_len,
c_lenof,
c_limit,
c_loop,
c_ls,
c_maxint,
c_minint,
c_minus,
c_minusassign,
c_multiply,
c_multiplyassign,
c_ne,
c_next,
c_non,
c_not,
c_or,
c_plus,
c_plusassign,
c_repeat,
c_reverse,
c_rightslice,
c_routines,
c_set,
c_setlimit,
c_setmark,
c_size,
c_sizeof,
c_slicefrom,
c_sliceto,
c_stringdef,
c_stringescapes,
c_strings,
c_substring,
c_test,
c_tolimit,
c_tomark,
c_true,
c_try,
c_unset,
c_mathassign,
c_name,
c_number,
c_literalstring,
c_neg,
c_call,
c_grouping,
c_booltest,
NUM_TOKEN_CODES
} |
|
enum | uplus_modes { UPLUS_NONE,
UPLUS_DEFINED,
UPLUS_UNICODE
} |
|
enum | name_types {
t_size = 6,
t_string = 0,
t_boolean = 1,
t_integer = 2,
t_routine = 3,
t_external = 4,
t_grouping = 5
} |
|
enum | analyser_modes { m_forward = 0,
m_backward
} |
|
enum | special_labels { x_return = -1
} |
|
|
symbol * | create_b (int n) |
|
void | report_b (FILE *out, const symbol *p) |
|
void | lose_b (symbol *p) |
|
symbol * | increase_capacity (symbol *p, int n) |
|
symbol * | move_to_b (symbol *p, int n, const symbol *q) |
|
symbol * | add_to_b (symbol *p, int n, const symbol *q) |
|
symbol * | copy_b (const symbol *p) |
|
char * | b_to_s (const symbol *p) |
|
symbol * | add_s_to_b (symbol *p, const char *s) |
|
struct str * | str_new (void) |
|
void | str_delete (struct str *str) |
|
void | str_append (struct str *str, struct str *add) |
|
void | str_append_ch (struct str *str, char add) |
|
void | str_append_b (struct str *str, symbol *q) |
|
void | str_append_string (struct str *str, const char *s) |
|
void | str_append_int (struct str *str, int i) |
|
void | str_clear (struct str *str) |
|
void | str_assign (struct str *str, char *s) |
|
struct str * | str_copy (struct str *old) |
|
symbol * | str_data (struct str *str) |
|
int | str_len (struct str *str) |
|
int | str_back (struct str *str) |
|
int | get_utf8 (const symbol *p, int *slot) |
|
int | put_utf8 (int ch, symbol *p) |
|
void | output_str (FILE *outfile, struct str *str) |
|
symbol * | get_input (const char *filename) |
|
struct tokeniser * | create_tokeniser (symbol *b, char *file) |
|
int | read_token (struct tokeniser *t) |
|
const char * | name_of_token (int code) |
|
void | disable_token (struct tokeniser *t, int code) |
|
void | close_tokeniser (struct tokeniser *t) |
|
void * | check_malloc (int n) |
|
void | check_free (void *p) |
|
void | print_program (struct analyser *a) |
|
struct analyser * | create_analyser (struct tokeniser *t) |
|
void | close_analyser (struct analyser *a) |
|
void | read_program (struct analyser *a) |
|
struct generator * | create_generator (struct analyser *a, struct options *o) |
|
void | close_generator (struct generator *g) |
|
void | write_char (struct generator *g, int ch) |
|
void | write_newline (struct generator *g) |
|
void | write_string (struct generator *g, const char *s) |
|
void | write_int (struct generator *g, int i) |
|
void | write_b (struct generator *g, symbol *b) |
|
void | write_str (struct generator *g, struct str *str) |
|
void | write_comment_content (struct generator *g, struct node *p) |
|
void | write_generated_comment_content (struct generator *g) |
|
void | write_start_comment (struct generator *g, const char *comment_start, const char *comment_end) |
|
int | K_needed (struct generator *g, struct node *p) |
|
int | repeat_restore (struct generator *g, struct node *p) |
|
void | generate_program_c (struct generator *g) |
|
void | generate_program_java (struct generator *g) |
|
void | generate_program_csharp (struct generator *g) |
|
void | generate_program_pascal (struct generator *g) |
|
void | generate_program_python (struct generator *g) |
|
void | generate_program_js (struct generator *g) |
|
void | generate_program_rust (struct generator *g) |
|
void | generate_program_go (struct generator *g) |
|