diff options
| author | LLLL Colonq <llll@colonq> | 2025-12-19 16:24:15 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-12-19 16:24:15 -0500 |
| commit | 219c94c7eb7448bfc86602579de3765216888297 (patch) | |
| tree | 04d45285bec04fe0e4e025e90f50dc262384b390 /src/parser.h | |
| parent | 09435bffe025a96e0d9c3b44ee9c505973b383bd (diff) | |
Update
Diffstat (limited to 'src/parser.h')
| -rw-r--r-- | src/parser.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/parser.h b/src/parser.h deleted file mode 100644 index 08c0bee..0000000 --- a/src/parser.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef PIT_PARSER_H -#define PIT_PARSER_H - -#include "lexer.h" -#include "runtime.h" - -typedef struct { - pit_lex_token token; - i64 start, end; - i64 line, column; /* for error reporting */ -} pit_parser_token_info; - -typedef struct { - pit_lexer *lexer; - pit_parser_token_info cur, next; -} pit_parser; - -void pit_parser_from_lexer(pit_parser *ret, pit_lexer *lex); -pit_value pit_parse(pit_runtime *rt, pit_parser *st, bool *eof); - -#endif |
