he .am files in bison-2.3 distribution.
Can anyone please help ? What am I doing wrong ?
Thank you,
Timothy Madden
___
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
Hello
I would like to use std::string as the only semantic value type in my
C++ parser.
Is there a way to do that without redefining YYSTYPE (which the C++
interface says it should not be used) ?
Thank you,
Timothy Madden
___
help-bison@gnu.org
On 06/26/2012 11:58 PM, Hans Aberg wrote:
On 26 Jun 2012, at 13:23, Timothy Madden wrote:
I wrote a grammar file for an approximation of the php language (with the
purpose of adding braces to single-statements under if, for, while, but that is
not included yet), that simply outputs the found
, so the grammar does
not get to see it.
On the other hand, I could not get GLR with C++ yet...
Thank you,
Timothy Madden
___
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison
class yyFlexLexer ? Other than using #define yylex, which I
think is not very friendly ?
Thank you,
Timothy Madden
___
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison
On 06/28/2012 04:55 PM, Akim Demaille wrote:
Le 28 juin 2012 à 14:51, Timothy Madden a écrit :
On 06/28/2012 10:09 AM, Akim Demaille wrote:
On the other hand, I could not get GLR with C++ yet…
I have it working, but it's based on horrible hacks. And
I really mean horrible. If P
On 06/28/2012 04:56 PM, Akim Demaille wrote:
Le 28 juin 2012 à 15:44, Timothy Madden a écrit :
Hello
All symbols generated by bison atr included in the yy:: namespace (in the
yy::parser class actually), except the yylex function.
Is there a way to change the name for yylex function ? So it
rent statements, depending on the following
lines of code.
Have fun,
Timothy Madden
___
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison
real php parser (from php source code) does not have a %glr
directive, but it does have %expect 3, and I know php has the dangling
elseif/else problem. Can a language with this issue be written in a
LALR(1) grammar ?
Thank you,
Timothy Madden
___
he
On 06/29/2012 10:09 AM, Akim Demaille wrote:
Le 28 juin 2012 à 17:28, Timothy Madden a écrit :
First, it looks like you want to migrate from old bison to the newer bison++.
Why do you qualify Bison as old, and Bison++ as newer? The
latest release of Bison for instance is about one month
10 matches
Mail list logo