lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi, list

As per the documentation(https://www.lua.org/pil/24.html), which says
that[emphasise mine]:
At the same time, a program that uses Lua can register new functions
in the Lua environment;
such functions are implemented in C (or **another language**) and can
add facilities that
cannot be written directly in Lua.

My question is what other languages?
Can these functions be implemented in C++? If not, is there any
workaround to achieve this goal?
If you could give some simple examples, that would be great.

I would be grateful to have some help with this question.

Best regards
Sunshilong