3 ms·
As a complete lua noob, can you run lua without C or C++? I've always thought of it as an embedded scripting language. I intend to learn it because of that but
by account-5 3y ago
As a complete lua noob, can you run lua without C or C++? I've always thought of it as an embedded scripting language. I intend to learn it because of that but what can it do on its own?
- frankohn 3y agoLua can be run without using C or C++ just by running the interpreter. The shortcoming is that the standard library is intentionally very limited so there is very little you can do using Lua alone. The main path is to implement with C or C++ bindings to the libraries you want to use and expose them as Lua module. This is the way Lua is supposed to be used.
- account-5 3y agoMight be a little beyond me then since I've not experience with either C, or C++. Wouldn't know where to start.
- Falkon1313 3y agoYes, there's a command line. Check LuaBinaries for that. Also, if you want a fun way to play with it, see the LÖVE game engine. You can be making your own simple 2D games in next to no time. And I think that's a nice playground for trying out a language. - https://love2d.org/ https://love2d.org/ - https://love2d.org/wiki/Getting_Started https://love2d.org/wiki/Getting_Started