You can embed Lua pretty easily using a few different libraries. One I liked in particular was mlua
. Lua is tiny, usually sufficiently fast, and easy to learn.
Otherwise, there are some others like Rhai, but there may be fewer resources available for users if you go with a less popular language.
There's a lot of bold claims being made. No segfaults, no memory leaks, etc. I'm curious to see how that's implemented.
Also:
lol