Re: Further C++ operators for position

2019-11-05 Thread Hans Åberg
> On 5 Nov 2019, at 07:51, Akim Demaille wrote: > >> Le 4 nov. 2019 à 21:16, Hans Åberg a écrit : >> >> >>> On 4 Nov 2019, at 18:12, Akim Demaille wrote: >>> Le 4 nov. 2019 à 17:03, Matthew Fernandez a écrit : The std::less implementation you suggest is to also lexic

Re: Further C++ operators for position

2019-11-05 Thread Matthew Fernandez
> On Nov 4, 2019, at 22:58, Akim Demaille wrote: > > hi Matthew, > >> Le 5 nov. 2019 à 02:10, Matthew Fernandez a >> écrit : >> >>> On Nov 4, 2019, at 12:16, Hans Åberg wrote: >>> On 4 Nov 2019, at 18:12, Akim Demaille wrote: If we want a total order here, it's actually

Re: Bison 3.4.90 released [beta]

2019-11-05 Thread Adrian Vogelsgesang
Hi Akim, I quickly upgraded Hyper (having a SQL grammar, similar to Postgres’ grammar) to use Bison 3.4.90. Things are looking good, our internal test cases are successful. I did not go through all our tests, though, e.g. I did not check address sanitizer and friends. I also tested LAC, and it w

Re: Further C++ operators for position

2019-11-05 Thread Akim Demaille
Hi Matthew, > Le 5 nov. 2019 à 16:04, Matthew Fernandez a > écrit : > > No, I meant that you could instantiate the parser twice and parse two > unrelated files. Each of the two resulting ASTs will have attached locations > and positions. It seems to me that it doesn’t make sense to compare a