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

typedef unsigned int symbol;
extern const 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);

#endif