Script Posted January 1, 2014 Share Posted January 1, 2014 hello guys! is just a question, if there any possibility to include Lua with/to Scar? Quote Link to comment Share on other sites More sharing options...
Wanted Posted January 1, 2014 Share Posted January 1, 2014 Lua? Quote Link to comment Share on other sites More sharing options...
Script Posted January 1, 2014 Author Share Posted January 1, 2014 yep Lua is a programing language that is be used for a long time as a embedded in other soft, example the addons and a lot of others things in World of warcraft (WOW) is made it with Lua Official Lua manual: Lua 5.1 Reference Manual Lua uses: Lua: uses Quote Link to comment Share on other sites More sharing options...
slacky Posted January 2, 2014 Share Posted January 2, 2014 (edited) Nope. You can call an executable (eg:lua-interpreter) if you make a simple plugin that allows you to do this from scar (I have a plugin for that somewhere on my computer)... But you are not going to get any two-way communication. Just be able to execute Lua-scripts from SCAR. Which makes it pretty useless for you, I am sure. Or, you can also use sockets to communicate with a running LUA-script.. WOW uses Lua as the scripting-language, but there isn't anything special about LUA over other embeddable dynamic languages (except that its a very small language). The core and more complex, expensive tasks in WOW are written in C++. May I ask why you wish to use Lua in/from SCAR? Are there any particular things you would like to see in SCAR that the Lua (syntax) offers? Or is it just that u prefer dynamic typing? -- Another thing: LUA is generally not to hard to convert to Pascal, but that does depend on the complexity of the Lua-code, as it will probably get more complex in pascal. Edited April 7, 2014 by slacky Quote Link to comment Share on other sites More sharing options...
Wanted Posted January 2, 2014 Share Posted January 2, 2014 Interesting Quote Link to comment Share on other sites More sharing options...