|
What is a Lua class?On Thu, Jan 26, 2017 at 11:20 AM, fiosoftware <hz@fiosoftware.com> wrote:
> Checked that, seems no support for defining class from Lua side. Right?
>
>
>
>
> On Jan 26, 2017, at 9:24 AM, hz <hz@fiosoftware.com> wrote:
>
> hi, All,
>
> Given the lack of runtime support of Swift, is it safe to say it’s
> impossible now to implement a Swift-Lua bridge for production (feature set
> similar to Wax or LuaCocoa)?
>
> Best Regards,
> /hz
>
>
> See https://github.com/sdegutis/lua4swift .
>
> Preston
Which is to say, in order for the binding to support Lua classes, it
would need to pick one way to represent them and then create a bridge.
Given that class-like behavior in Lua can be done in many ways, that
is probably beyond the scope of a binding, even though the ability to
marshal classes from either side would be valuable.
--
Andrew Starks