core
core copied to clipboard
MetaCall: The ultimate polyglot programming experience.
Haskell has a compiler generation tool that provides the stubs in C language to Haskell (https://wiki.haskell.org/Calling_Haskell_from_C). Due to this design, the loader must be implemented mostly with Haskell. The load...
`[ 97%] Building C object source/loader/CMakeFiles/loader.dir/source/loader_impl.c.o /home/username/metacall/core/source/loader/source/loader_impl.c: In function ‘loader_impl_load_from_memory’: /home/username/metacall/core/source/loader/source/loader_impl.c:861:66: warning: ‘loader_impl_load_handle’ reading 4096 bytes from a region of size 255 [-Wstringop-overread] 861 | loader_handle_impl handle_impl = loader_impl_load_handle(impl, iface,...
## 🚀 Feature The idea of this is to provide support for multiple platforms for dynamic linking libraries (i.e extend the platforms where the plugin system will work). The current...
## 🚀 Feature Related to this issue: https://github.com/metacall/core/issues/266 ; it's is possible that single threaded execution may not need to save and restore thread context for each call. This is...
MetaCall currently has no mechanism to propagate errors to the caller, aside from a simple logging to notify the user. Exceptions are often part of the API, meaning that it...
The idea is to fire up a [Node REPL](https://nodejs.org/api/repl.html) when the CLI is initiated. The REPL will parse commands and arguments and match them with a list of available commands...
## 🐛 Bug Report ### Expected Behavior Code with spaces should be evaluated correctly inside the Metacall CLI. ### Current Behavior At the moment, any code containing spaces raises an...
## 🐛 Bug Report Since CMake 3.20, the write_compiler_detection_header has been deprecated ( https://cmake.org/cmake/help/latest/module/WriteCompilerDetectionHeader.html ). My recommendation is to completely remove it. It is being used in a lot of...
## 📚 Documentation Basically, this commit: https://github.com/metacall/core/commit/af60ad595e61d52d537bc528039471a2773c4f90 ; explains in detail how a new loader must be added, and all changes that need to be done in the core in...
## 🚀 Feature The main idea of this is to produce a stable way to avoid and maintain memory leaks as low as possible. Even if we use options like...