Exposing Basic Operations for Lua Scripting

BlitzMax Forums/BlitzMax Programming/Exposing Basic Operations for Lua Scripting

RustyKristi(Posted 2016) [#1]
I thought there's already an extended mod where you can use some basic operation for Lua user scripting, like the scripting engines you can use in blitz3d. I forgot the names.


Derron(Posted 2016) [#2]
If you are using my Dig-framework - checkout the "lua"-sample.

If not: https://en.wikibooks.org/wiki/BlitzMax/Modules/System/Lua_scripting


bye
Ron


RustyKristi(Posted 2016) [#3]
I like it, looks promising and might be what I need! :D

what is the scope and limits?


Derron(Posted 2016) [#4]
You should mention of which option you are talking about.

For my Lua-thing: you expose everything of a type "readable" by default but via meta-data you could restrict access (eg if you want to have some private functions/fields) or you could allow writing to them.



bye
Ron


RustyKristi(Posted 2016) [#5]
Ah that's great. :D I should give it a try..