diff options
author | kartofen <mladenovnasko0@gmail.com> | 2025-07-01 00:11:29 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2025-07-01 00:11:29 +0300 |
commit | a67266ff72280b85fed7ec498967a855a5735639 (patch) | |
tree | f53d551e49e2263b5208b9adf1d4c50943f4d59d /parts/symbol.h | |
parent | 7743cb4f8a06ab79a521c4346aac74b47c8ce224 (diff) |
major refactor, more modular (wow because obviously modularity is always a good thing yes), and etc
Diffstat (limited to 'parts/symbol.h')
-rw-r--r-- | parts/symbol.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/parts/symbol.h b/parts/symbol.h new file mode 100644 index 0000000..d3cb5cd --- /dev/null +++ b/parts/symbol.h @@ -0,0 +1,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 |