summaryrefslogtreecommitdiffhomepage
path: root/CompilerDriver/ccplus.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-07 12:17:28 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-07 12:21:39 +0100
commit282b4694b7199fe4905761965bdf5ddfdeefbf28 (patch)
tree7e399b877698e8f09f500fc07fc46dc4df7b0a81 /CompilerDriver/ccplus.cc
parent3f62373bd7903836f51869a313033f401ee24261 (diff)
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 <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerDriver/ccplus.cc')
-rw-r--r--CompilerDriver/ccplus.cc32
1 files changed, 2 insertions, 30 deletions
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()
{