feat(compiler): Restore sovereign compiler engine & VM with zero-key cloud gateway and vendored GitHub stats
This commit is contained in:
1 parent
bd12a80ff0
commit
506eb25977
64 files changed
+9715
-1
No files matched your search
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
#ifndef AIRA_PARSER_H
|
||||
#define AIRA_PARSER_H
|
||||
|
||||
#include "lexer.h"
|
||||
#include "ast.h"
|
||||
|
||||
typedef struct {
|
||||
Lexer lexer;
|
||||
Token current;
|
||||
Token previous;
|
||||
bool had_error;
|
||||
bool panic_mode;
|
||||
const char* filename;
|
||||
} Parser;
|
||||
|
||||
void parser_init(Parser* parser, const char* source, const char* filename);
|
||||
StmtNode* parser_parse(Parser* parser);
|
||||
|
||||
#endif /* AIRA_PARSER_H */
|
||||
Reference in new issue
Block a user