4 ms·
If the app you need to script is C++ there are much more appealing options than Lua, which is very C. You get ugly C style code in your C++. QScript, ChaiScri
by kingkongreveng_ 17y ago
If the app you need to script is C++ there are much more appealing options than Lua, which is very C. You get ugly C style code in your C++.
QScript, ChaiScript, and projects like boost.python and libperl++, play much better with your C++.
- agladysh 17y agoIf you need boost.python-esque interface for Lua, use Luabind.
- dkersten 17y agoAnd the slightly Lua derived Squirrel. I've considered a number of these for my current app, especially QtScript, Lua and Squirrel, but eventually I settled on embedding a JVM, since it gives me access to a bunch of libraries and lets me use any JVM language (I'm personally using Clojure and Yeti, but users of my app could in theory use other languages).
- dtf 17y agoIf you like boost::python, have you tried Luabind?