[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is Swift Bridge Possible?
- From: Andrew Starks <andrew@...>
- Date: Thu, 26 Jan 2017 11:35:43 -0600
On Thu, Jan 26, 2017 at 11:20 AM, fiosoftware <firstname.lastname@example.org> wrote:
> Checked that, seems no support for defining class from Lua side. Right?
> On Jan 26, 2017, at 9:24 AM, hz <email@example.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,
> See https://github.com/sdegutis/lua4swift.
What is a Lua class?
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.