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,18 @@
|
||||
#ifndef AIRA_LEXER_H
|
||||
#define AIRA_LEXER_H
|
||||
|
||||
#include "token.h"
|
||||
|
||||
typedef struct {
|
||||
const char* source;
|
||||
const char* filename;
|
||||
size_t length;
|
||||
size_t current;
|
||||
int line;
|
||||
int col;
|
||||
} Lexer;
|
||||
|
||||
void lexer_init(Lexer* lexer, const char* source, const char* filename);
|
||||
Token lexer_next_token(Lexer* lexer);
|
||||
|
||||
#endif /* AIRA_LEXER_H */
|
||||
Reference in new issue
Block a user