start writing translator

This commit is contained in:
2025-06-13 02:46:42 +01:00
parent b05408ebec
commit 27a777ad86
15 changed files with 3356 additions and 32 deletions

View File

@@ -0,0 +1,8 @@
#include "../translator.h"
#include <stddef.h>
#include <string.h>
void translate_parsed_string(Translated *translated, ParsedValue *parsedValue) {
size_t string_pos = arena_push_string(&translated->constants, (char*)parsedValue->data);
// set_registers(translated, 1);
}

View File

@@ -0,0 +1,7 @@
#ifndef STRING_H
#define STRING_H
#include "../translator.h"
void translate_parsed_string(Translated * translator, ParsedValue * parsedValue);
#endif