[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GLR C++ Variants

From: Akim Demaille
Subject: Re: GLR C++ Variants
Date: Sat, 11 Jan 2020 16:08:04 +0100


> Le 11 janv. 2020 à 12:00, Сергей Фасман <address@hidden> a écrit :
> If I correctly understand, I meant both non terminal and terminal symbols.

Ok, so your proposal is about typing symbols, which is already
supported by Bison.

> Because it will be usefull to attach attributes to tokens too.

So far, I don't see the need to add more attributes.

> So, there are plans to rewrite GLR to C++. What expect to done first: 
> variants or refactoring?

Rewrite.  It's not about refactoring, it's about writing it from
scratch.  The lack of support for variants comes from the fact that
the core of glr.cc is glr.c, in a C style that does not respect
C++ object lifetime.  That's why it must be first rewritten in C++.

I have received your request to be part of the Savannah, thanks for
your interest!  However, to contribute to Bison that's not necessary.
What is really needed first is signing the FSF disclaimers.

But we should also first see how you can help.  Let's give Valentin
some time to answer first.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]