summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-12-19 16:24:15 -0500
committerLLLL Colonq <llll@colonq>2025-12-19 16:24:15 -0500
commit219c94c7eb7448bfc86602579de3765216888297 (patch)
tree04d45285bec04fe0e4e025e90f50dc262384b390 /src/parser.h
parent09435bffe025a96e0d9c3b44ee9c505973b383bd (diff)
Update
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h21
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