Re: Lua binding for curses

2023-08-07 Thread Valery Ushakov
On Mon, Aug 07, 2023 at 23:04:17 +, Charlotte Koch wrote: > I didn't realize that prior art actually mattered... > > I say this because our SQLite bindings in src/lib/lua/sqlite were > homegrown, despite the fact that official Lua-SQLite bindings > have always existed upstream: > > http://lu

Re: Lua binding for curses

2023-08-07 Thread Charlotte Koch
On Sun, Aug 06, 2023 at 04:34:44AM +0300, Valery Ushakov wrote: Nice. What is prior art in this area? I know of https://github.com/lcurses/lcurses though I never used it myself and don't know its status. If it already has adoption in the lua community, it makes sense to use it and make su

Re: Lua binding for curses

2023-08-07 Thread Brett Lymn
On Mon, Aug 07, 2023 at 03:05:05AM +0300, Valery Ushakov wrote: > > I don't think it's productive to frame this as an "exclusive or" > choice. If we want to do comparison testing against ncurses, we can't > expect identical sequence of commands for the identical output, e.g. > the order of comman

Re: Lua binding for curses

2023-08-06 Thread Valery Ushakov
On Mon, Aug 07, 2023 at 07:52:10 +0930, Brett Lymn wrote: > > It would be nice to be able to use the same lua binding with both our > > curses and ncurses. I have a simple screen grabber based on a > > rumpified wsvt25 that I wrote to test and debug the kernel terminal > > emulator(*) and it migh

Re: Lua binding for curses

2023-08-06 Thread Brett Lymn
On Sun, Aug 06, 2023 at 04:34:44AM +0300, Valery Ushakov wrote: > > Nice. What is prior art in this area? I know of > > https://github.com/lcurses/lcurses > > though I never used it myself and don't know its status. If it > already has adoption in the lua community, it makes sense to use it

Re: Lua binding for curses

2023-08-05 Thread Valery Ushakov
On Sat, Aug 05, 2023 at 20:46:58 +, Charlotte Koch wrote: > I've been (slowly) working on a Lua binding for NetBSD curses, with the > intention of adding it to src alongside our other Lua libs (sqlite, > gpio, etc.) > > https://github.com/dressupgeekout/netbsd-lua-curses > > I finally have a

Lua binding for curses

2023-08-05 Thread Charlotte Koch
Hola, I've been (slowly) working on a Lua binding for NetBSD curses, with the intention of adding it to src alongside our other Lua libs (sqlite, gpio, etc.) https://github.com/dressupgeekout/netbsd-lua-curses I finally have a bunch of free time and I want to get back to work on it. My question