#import <objc/objc.h>

void set_rule (const char *rule_string);
void skip_space (void);
BOOL expect_char (char c);
BOOL expect_string (const char *expect);
BOOL get_state (char *state, int max_state_len);
BOOL get_int (int *value, int min, int max);
BOOL get_row_col (int *row, int *col);
BOOL get_string (char *str, int max_str_len, const char *input_field[]);
