Re: unix(3lua)

2018-05-17 Thread maya
On Fri, May 18, 2018 at 12:20:20AM +0100, Alexander Nasonov wrote: > David Holland wrote: > > On Thu, May 17, 2018 at 03:41:26PM +0200, Marc Balmer wrote: > > > One more thing: When we imported Lua into base, we very clearly > > > decided that pkgsrc Lua and base Lua should be two separate

Re: unix(3lua)

2018-05-17 Thread Sevan Janiyan
Oops, adding others in > On 17 May 2018, at 13:15, Sevan Janiyan wrote: > > > >> On 17 May 2018, at 13:02, Martin Husemann wrote: >> >> Is there any reason to import it? Why not pkgsrc? > > Because the functionality is there in base already,

Re: unix(3lua)

2018-05-17 Thread Martin Husemann
On Thu, May 17, 2018 at 12:55:26PM +0100, Sevan Janiyan wrote: > I would like to import this into base as unix(3lua) and wanted to ask > for feedback, is there any reason not to? Is there any reason to import it? Why not pkgsrc? Martin

Re: unix(3lua)

2018-05-17 Thread Marc Balmer
> Am 17.05.2018 um 13:55 schrieb Sevan Janiyan : > > Hello, > There is a unixlua[1] module which is a Lua binding for some the > functions in our C libraries in base as well as system calls. The code > base is small and doesn't have any tentacles (a hand full of C

unix(3lua)

2018-05-17 Thread Sevan Janiyan
Hello, There is a unixlua[1] module which is a Lua binding for some the functions in our C libraries in base as well as system calls. The code base is small and doesn't have any tentacles (a hand full of C files, excluding headers), It's licensed under a 3 clause style BSD license and written by

Re: unix(3lua)

2018-05-17 Thread Marc Balmer
One more thing: When we imported Lua into base, we very clearly decided that pkgsrc Lua and base Lua should be two separate things. Base Lua can not use pkgsrc Lua modules by default (and most probably vice versa). The "unix" module is important doe the Lua subsystem in NetBSD's base, because

Re: unix(3lua)

2018-05-17 Thread David Holland
On Thu, May 17, 2018 at 03:41:26PM +0200, Marc Balmer wrote: > One more thing: When we imported Lua into base, we very clearly > decided that pkgsrc Lua and base Lua should be two separate things. > Base Lua can not use pkgsrc Lua modules by default (and most > probably vice versa). ...you

Re: unix(3lua)

2018-05-17 Thread Alexander Nasonov
David Holland wrote: > On Thu, May 17, 2018 at 03:41:26PM +0200, Marc Balmer wrote: > > One more thing: When we imported Lua into base, we very clearly > > decided that pkgsrc Lua and base Lua should be two separate things. > > Base Lua can not use pkgsrc Lua modules by default (and most > >