The second part of the series implements a full C++ wrapper for C++ functions and classes for Wren's C API.
Embedding Wren in C++, part 1
Wren is a small, fast, class-based scripting language designed to be easily embeddable in a host application. The language has a slot-based C API very similar to the one found in Lua. In this first post of a two-post series, we take a look at calling the slot API automatically base on the types of a list of arguments to a function.
Placing an arbitrary number of function calls into a function argument list using templates
A small look at some useful template techniques, in the context of trying to bind functions to a virtual machine. I wrote this post mostly for myself so that these techniques would be listed all in one place.