Re: [dev] [vis] vis lua integration not working when using lua 5.3

2016-01-31 Thread Marc André Tanner
On Thu, Jan 21, 2016 at 09:29:01AM +0100, Silvan Jegen wrote: > On Thu, Jan 21, 2016 at 9:11 AM, Silvan Jegen wrote: > > I came up with only two general approaches. Either send error messages > > to the UI (including a sleep() so that errors further down in the call > > chain don't get eclipsed) o

Re: [dev] [vis] vis lua integration not working when using lua 5.3

2016-01-21 Thread Silvan Jegen
On Thu, Jan 21, 2016 at 9:11 AM, Silvan Jegen wrote: > I came up with only two general approaches. Either send error messages > to the UI (including a sleep() so that errors further down in the call > chain don't get eclipsed) or log them to a file (both approaches feel like > bad choices). I wond

Re: [dev] [vis] vis lua integration not working when using lua 5.3

2016-01-21 Thread Silvan Jegen
On Wed, Jan 20, 2016 at 07:17:09PM +0100, Marc André Tanner wrote: > On Wed, Jan 20, 2016 at 03:07:28PM +0100, Silvan Jegen wrote: > > Has anyone used vis successfully with lua 5.3? > > Yes I had it running with 5.3 at some point. I guess you do > not have LPeg installed (for 5.3). A first try wou

Re: [dev] [vis] vis lua integration not working when using lua 5.3

2016-01-20 Thread Marc André Tanner
On Wed, Jan 20, 2016 at 03:07:28PM +0100, Silvan Jegen wrote: > Has anyone used vis successfully with lua 5.3? Yes I had it running with 5.3 at some point. I guess you do not have LPeg installed (for 5.3). A first try would be to change into the `lexers` sub directory inside the vis source tree a

[dev] [vis] vis lua integration not working when using lua 5.3

2016-01-20 Thread Silvan Jegen
Hey hey When building vis with lua 5.3, the lua integration does not seem to work for me even though vis compiles without issues. $ make cc -DCONFIG_LUA=1 -DCONFIG_SELINUX=0 -DCONFIG_ACL=0 -I/usr/include/ -D_GNU_SOURCE -std=c99 -Os -DVERSION="v0.1.r63.ge1bf543" -DNDEBUG -D_POSIX_C_SOURCE=200809