aboutsummaryrefslogtreecommitdiff
path: root/parts/symbol.h
blob: c7314f421a31fce37d70776584e85fc2b0ac9580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SYMBOL_H
#define SYMBOL_H

#include <stddef.h> // size_t

typedef unsigned int symbol;
extern size_t total_symbols;
extern char **symbol_to_str;

extern int (*symbol_is_terminal)(symbol s);
extern int (*symbol_is_input_end)(symbol s);
extern int (*symbol_is_valid)(symbol s);

#include "util/util.h" //temp

#endif