feat: implement M1 Ferro frontend

This commit is contained in:
2026-08-16 07:10:53 +09:00
parent 990068f424
commit 005056a5ea
32 changed files with 986 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef FE_PARSER_H
#define FE_PARSER_H
#include "ast.h"
typedef struct FeParser {
FeLexer lexer;
FeToken current;
FeToken previous;
FeAst *ast;
FeDiags *diags;
} FeParser;
void fe_parser_init(FeParser *p, FeAst *ast, const char *src, unsigned long length, const char *file, FeDiags *d);
FeNode *fe_parse_unit(FeParser *p);
#endif