addition: added arena library to this shit
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define EVALUATOR_H
|
||||
|
||||
#include "lexer.h"
|
||||
#include "arena.h"
|
||||
#include <stdint.h>
|
||||
|
||||
int64_t evaluate(ASTNode *tree);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define PARSER_H
|
||||
|
||||
#include "lexer.h"
|
||||
#include "arena.h"
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user