feature-AST-using-arena #5

Merged
laentropia merged 2 commits from feature-AST-using-arena into main 2026-04-13 08:58:47 -06:00
3 changed files with 4 additions and 1 deletions
Showing only changes of commit fb27e1e34c - Show all commits

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) {