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] miniyacc

2019-05-07 Thread Daniel Cegiełka
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 - works correctly with yacc from OpenBSD and Plan 9. I'