addition: added arena library to this shit

This commit is contained in:
2026-04-13 06:40:31 -06:00
parent ef8cf84456
commit fb27e1e34c
3 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
#define EVALUATOR_H
#include "lexer.h"
#include "arena.h"
#include <stdint.h>
int64_t evaluate(ASTNode *tree);

View File

@@ -2,6 +2,7 @@
#define PARSER_H
#include "lexer.h"
#include "arena.h"
#include <stdint.h>
typedef struct {

View File

@@ -1,9 +1,10 @@
#include "parser.h"
#include "lexer.h"
#include "arena.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
uint8_t node_lbp(ASTNode node) {
if (node.type == NODE_INTEGER) {