From 282b4694b7199fe4905761965bdf5ddfdeefbf28 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 7 Jan 2024 12:17:28 +0100 Subject: compilers: introducing bccl, Binary Compatible Computer Language. masm: fix add,dec and some issues regarding labels. mpcc: is now a BCCL/C++ compiler. Signed-off-by: Amlal El Mahrouss --- CompilerDriver/ccplus.cc | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) (limited to 'CompilerDriver/ccplus.cc') diff --git a/CompilerDriver/ccplus.cc b/CompilerDriver/ccplus.cc index 1c278c8..5c1c6f2 100644 --- a/CompilerDriver/ccplus.cc +++ b/CompilerDriver/ccplus.cc @@ -183,40 +183,12 @@ namespace detail UInt64 raw; }; - - struct ast_interface - { - explicit ast_interface(std::string& value) - : mValue(value) - { - this->_Compile(); - } - - ~ast_interface() = default; - - CXXKIT_COPY_DEFAULT(ast_interface); - - private: - std::string mProcessed; - std::string mValue; - - void _Compile() noexcept - { - if (mValue.empty()) - { - return; - } - - - } - - }; } ///////////////////////////////////////////////////////////////////////////////////////// // @name Compile -// @brief Generate MASM from a C source. +// @brief Generate MASM from a C++ source. ///////////////////////////////////////////////////////////////////////////////////////// @@ -520,7 +492,7 @@ public: ///////////////////////////////////////////////////////////////////////////////////////// #define kPrintF printf -#define kSplashCxx() kPrintF(kWhite "%s\n", "ccplus, v1.14, (c) Mahrouss Logic.") +#define kSplashCxx() kPrintF(kWhite "%s\n", "ccplus, v1.15, (c) Mahrouss Logic.") static void cxx_print_help() { -- cgit v1.2.3