Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-05-08 Thread Enan Ajmain
Hi, I looked at the patch you suggested, but I still don't have any idea how I should go about getting what I want. I mean I understood the code, but I lack any knowledge on actually coding on top of existing projects. If you didn't understand what I actually wanted, I will reiterate more clearly.

Re: [dev] miniyacc

2019-05-08 Thread Michael Forney
On 2019-05-08, Daniel Cegiełka wrote: > • lack of {% and %} which is quite common (license): > https://github.com/openbsd/src/blob/master/usr.bin/awk/awkgram.y > • I don't even know what else: > https://github.com/9fans/plan9port/blob/master/src/cmd/hoc/hoc.y#L32 I think these are both the s

Re: [dev] miniyacc

2019-05-08 Thread Daniel Cegiełka
Michael, Thx a lot for your research! My summary: OpenBSD's yacc * works correctly * based on byacc: https://invisible-island.net/byacc/byacc.html Plan 9's yacc * utf * should be used with -S flag (for unix like) * usually works, but has some problems: https://github.com/gittup/binutils/blob/git

Re: [dev] miniyacc

2019-05-08 Thread Michael Forney
On 2019-05-07, Daniel Cegiełka wrote: > Hi, > > I'm going to use Quentin's miniyacc with (for example) bc.y from Plan 9: > https://github.com/9fans/plan9port/blob/master/src/cmd/bc.y > > Of course, I had to modify the code (a bit), but unfortunately I still > get an error when using miniyacc - wor

[dev] Re: miniyacc

2019-05-08 Thread Daniel Cegiełka
A small addition: * miniyacc was written by Quentin Carbonneaux, who is very well known in the suckless community (qbe, https://c9x.me). * I did a small comparison yacc parsers and for bc.y OpenBSD's yacc produces 50.5k binary vs 38.5k Plan 9's yacc (9base). * miniyacc is optimized for low memory u