MCPcopy Create free account
hub / github.com/StudioCherno/Coral

github.com/StudioCherno/Coral @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
417 symbols 677 edges 62 files 6 documented · 1% updated 6d ago★ 3344 open issues

Browse by type

Functions 309 Types & classes 108
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Coral

Coral is a C++ wrapper around the .NET HostFXR library, the purpose of Coral is to provide an interface similar to Mono when it comes to C++/C# interop, but in a more modern style, and using .NET Core instead of .NET Framework.

The goal of the API is to keep it as simple and flexible as possible, while remaining fast and (relatively) safe.

Supported Platforms

  • Windows x64 (VS2022)
  • Linux x64 (Last tested on Ubuntu 22.04)
  • macOS arm64 (Last tested on Tahoe 26.1)

Compiling

  • Coral has been tested to compile with MSVC / CL (Visual Studio 2022) and Clang 16+
  • It uses C++17 and depends on the .NET SDK being present on the system

Building

Coral uses the premake meta-build system in order to generate build files for other build systems (e.g Visual Studio Solutions, Makefiles, etc...)

You'll need to download premake from https://premake.github.io/, after that open up a terminal and cd into the root directory of Coral, then run this command:

premake5 [action]

where action is one of the supported actions in premake: https://premake.github.io/docs/Using-Premake#using-premake-to-generate-project-files

License

Coral is licensed under the MIT license

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 266
Class 91
Function 43
Enum 15
Interface 2

Languages

C#50%
C++50%

Modules by API surface

Coral.Managed/Source/TypeInterface.cs38 symbols
Tests/Testing.Managed/Source/Main.cs35 symbols
Tests/Testing.Native/Source/Main.cpp29 symbols
Coral.Managed/Source/InteropTypes.cs28 symbols
Coral.Managed/Source/ManagedObject.cs21 symbols
Tests/Testing.Managed/Source/MemberMethodTest.cs20 symbols
Coral.Native/Source/Coral/Type.cpp17 symbols
Coral.Managed/Source/AssemblyLoader.cs14 symbols
Coral.Native/Source/Coral/HostInstance.cpp12 symbols
Coral.Native/Include/Coral/ManagedObject.hpp12 symbols
Coral.Native/Include/Coral/Array.hpp12 symbols
Coral.Native/Include/Coral/StableVector.hpp11 symbols

For agents

$ claude mcp add Coral \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page