lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Sat, Apr 28, 2018 at 12:02 AM, Dibyendu Majumdar <> wrote:
On 28 April 2018 at 04:52, Russell Haley <> wrote:
> So the idea came to me that it would be easier to maintain one copy of lua
> that can run the 5.1 dll/so and the 5.x dll/so based on a command line
> switch. The thought is the lua executable is potentially rather stable in
> the 5.x series. Since 5.1 isn't changing any time soon, there would be very
> little maintenance to do?
> I do plan on diffing lua.c at some point shortly, but any input would be
> grand?

Look at

Thanks! This looks interesting, but a little more involved then what I'm attempting. I want to call 5.1 or 5.x exclusively, whereas twoface seems to provide a custom ABI for running lua 5.1 within lua 5.2. I'm reading twoface.c to see if I can steal any ideas.