From c39c29bf4c52a85d7c83cc8b66ae45e265f9e078 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 28 Apr 2025 11:42:22 -0700 Subject: Add Slang Byte Code generation and interpreter. (#6896) * Add Slang Byte Code generation and interpreter. * Fix compile issues. * format code * More compile fix. * Fix clang issue. * Fix more clang issues. * Another clang fix. * Fix clang issues. * Fix another clang issue. * Fix wasm build. * Update building.md * Fix test-server. * Fix compile error. * Fix bug. --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- tools/test-server/test-server-main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools/test-server/test-server-main.cpp') diff --git a/tools/test-server/test-server-main.cpp b/tools/test-server/test-server-main.cpp index 633a23d7e..63535ec92 100644 --- a/tools/test-server/test-server-main.cpp +++ b/tools/test-server/test-server-main.cpp @@ -188,6 +188,9 @@ SlangResult innerMain( } // namespace SlangCTool +// SlangITool +#include "../slang-test/slangi-tool-impl.h" + /* !!!!!!!!!!!!!!!!!!!!!!!!!!!! TestServer !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ SlangResult TestServer::init(int argc, const char* const* argv) @@ -308,6 +311,10 @@ TestServer::InnerMainFunc TestServer::getToolFunction(const String& name, Diagno { return &SlangCTool::innerMain; } + else if (name == "slangi") + { + return &SlangITool::innerMain; + } StringBuilder sharedLibToolBuilder; sharedLibToolBuilder.append(name); -- cgit v1.2.3