diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-08 10:28:10 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-08 10:28:10 +0100 |
| commit | f5a153c3f888f82edaf5038e5762f9bd70356db4 (patch) | |
| tree | 02d3a8f71796105a7e6780eb3327b2c2724e70d5 /dev/LibCompiler/Parser.h | |
| parent | c3b10ee1e28737375d65c3811f390d77a84fc165 (diff) | |
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 <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibCompiler/Parser.h')
| -rw-r--r-- | dev/LibCompiler/Parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
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() |
