From f5a153c3f888f82edaf5038e5762f9bd70356db4 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 8 Jan 2025 10:28:10 +0100 Subject: KAN-8: Compiler tweaks and AARCH64 in progress. - Refactor C compilers. - Add Encoder for ARM64. - Add and working on assembler for AARCH64. Signed-off-by: Amlal El Mahrouss --- dev/LibCompiler/Parser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/LibCompiler/Parser.h') diff --git a/dev/LibCompiler/Parser.h b/dev/LibCompiler/Parser.h index b26ffcd..d123e00 100644 --- a/dev/LibCompiler/Parser.h +++ b/dev/LibCompiler/Parser.h @@ -20,7 +20,7 @@ namespace LibCompiler explicit ICompilerFrontend() = default; virtual ~ICompilerFrontend() = default; - TOOLCHAINKIT_COPY_DEFAULT(ICompilerFrontend); + LIBCOMPILER_COPY_DEFAULT(ICompilerFrontend); // NOTE: cast this to your user defined ast. typedef void* AstType; @@ -28,7 +28,7 @@ namespace LibCompiler //! @brief Compile a syntax tree ouf of the text. //! Also takes the source file name for metadata. - virtual bool Compile(const std::string text, const std::string file) = 0; + virtual bool Compile(std::string text, const std::string file) = 0; //! @brief What language are we dealing with? virtual const char* Language() -- cgit v1.2.3