feat(s1duo): implement pure C AiraLang S1 Duo native engine with military-grade security hardening
This commit is contained in:
1 parent
97146cb5c3
commit
8ac2b4c48e
25 files changed
+3681
-1
No files matched your search
@@ -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