MCPcopy Index your code
hub / github.com/HaxeFoundation/hashlink

github.com/HaxeFoundation/hashlink @1.15

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.15 ↗ · + Follow
8,114 symbols 20,432 edges 635 files 1,518 documented · 19%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

HashLink

HashLink

Build Status Build Status

HashLink is a virtual machine for Haxe https://hashlink.haxe.org

Building on Linux/OSX

HashLink is distributed with some graphics libraries allowing to develop various applications, you can manually disable the libraries you want to compile in Makefile. Here's the dependencies that you install in order to compile all the libraries:

  • fmt: libpng-dev libturbojpeg-dev libvorbis-dev
  • openal: libopenal-dev
  • sdl: libsdl2-dev libglu1-mesa-dev
  • ssl: libmbedtls-dev
  • uv: libuv1-dev
  • sqlite: libsqlite3-dev

To install all dependencies on the latest Ubuntu, for example:

sudo apt-get install libpng-dev libturbojpeg-dev libvorbis-dev libopenal-dev libsdl2-dev libglu1-mesa-dev libmbedtls-dev libuv1-dev libsqlite3-dev

For 16.04, see this note.

To install all dependencies on the latest Fedora, for example:

sudo dnf install libpng-devel turbojpeg-devel libvorbis-devel openal-soft-devel SDL2-devel mesa-libGLU-devel mbedtls-devel libuv-devel sqlite-devel

And on OSX:

brew bundle to install the dependencies listed in Brewfile.

Once dependencies are installed you can simply call:

make

To be able to use hashlink binary with the debugger you can then call:

sudo make codesign_osx

To install hashlink binaries on your system you can then call:

make install

Building on Windows

Open hl.sln using Visual Studio C++ and compile.

To build all of HashLink libraries it is required to download several additional distributions, read each library README file (in hashlink/libs/xxx/README.md) for additional information.

In short you'll probably need:

Debugging

You can debug Haxe/HashLink applications by using the Visual Studio Code Debugger

Documentation

Read the Documentation on the HashLink wiki.

Core symbols most depended-on inside this repo

op64
called by 292
src/jit.c
add_jump
called by 235
include/pcre/pcre2_jit_compile.c
mbedtls_platform_zeroize
called by 221
include/mbedtls/library/platform_util.c
mbedtls_mpi_free
called by 195
include/mbedtls/library/bignum.c
mbedtls_free
called by 190
include/mbedtls/library/platform.c
mbedtls_calloc
called by 166
include/mbedtls/library/platform.c
mbedtls_mpi_init
called by 147
include/mbedtls/library/bignum.c
uv_translate_sys_error
called by 139
include/libuv/src/win/error.c

Shape

Function 7,018
Class 836
Method 224
Enum 36

Languages

C81%
C++19%

Modules by API surface

include/vhacd/VHACD.h271 symbols
include/mbedtls/library/ssl_tls.c217 symbols
include/mbedtls/library/psa_crypto.c217 symbols
include/pcre/pcre2_jit_compile.c162 symbols
libs/openal/openal.c157 symbols
libs/sdl/gl.c121 symbols
include/mbedtls/library/ssl_msg.c97 symbols
include/mbedtls/library/ecp.c95 symbols
src/jit.c92 symbols
libs/sdl/sdl.c81 symbols
libs/directx/dx12.cpp79 symbols
include/png/png.c78 symbols

For agents

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

⬇ download graph artifact