Re: Updating a legacy bison/yacc grammar file (HELP!)

2020-06-16 Thread Akim Demaille
same in fmtgen/lex.o and fmtgen/parse.yacc.o. So have a look at `nm fmtgen/lex.o` to see what name was given to xxxlex, and help parse.yacc.o find it. Cheers!

Re: Updating a legacy bison/yacc grammar file (HELP!)

2020-06-16 Thread Aryeh Friedman
On Mon, Jun 15, 2020 at 3:57 AM Aryeh Friedman wrote: > > > On Mon, Jun 15, 2020 at 12:49 AM Akim Demaille wrote: > >> >> You should look for the place where the symbols have be renamed. It >> might be outside of the grammar itself, in the build system. Have a >> look at this bug report, and t

Re: Updating a legacy bison/yacc grammar file (HELP!)

2020-06-15 Thread Aryeh Friedman
On Mon, Jun 15, 2020 at 12:49 AM Akim Demaille wrote: > > You should look for the place where the symbols have be renamed. It > might be outside of the grammar itself, in the build system. Have a > look at this bug report, and the answers. > > https://lists.gnu.org/r/bug-bison/2020-05/msg00093.

Re: Updating a legacy bison/yacc grammar file (HELP!)

2020-06-14 Thread Akim Demaille
s with a link to the grammar, I might be easier for us to help you. > If I do nothing I get the following error in code that was added by bison > when generating the parser (I can't find any reference to the string > literals in the .y's I am attempting to update): > >

Updating a legacy bison/yacc grammar file (HELP!)

2020-06-14 Thread Aryeh Friedman
In attempting to update a previously working (pre-3.6) set of .y's I am now getting an error that makes no sense to me (I am not the original author) and all attempts to fix it fail. If I do nothing I get the following error in code that was added by bison when generating the parser (I can't find

help me using flex/bison

2020-04-21 Thread Hokoma Hokoma
dear devs , please help me for using flex with bison i didn't understand because there is a lot of details there . i am using "ubuntu 1804 LTS" operating system so i read a lot of articles about this but still confusing ... younes

Fyi: this list, help-bison, just had it's subject [tag] and footer removed

2019-10-24 Thread sysadmin
The Free Software Foundation has changed the GNU Mailman settings on this list. The short version is that any subject prefix or message footer has been removed, allowing us to turn off DMARC from munging. Any list administrator for this list is free to change these settings back, instructions are b

Very stupid error with simple example, please help me.

2019-02-22 Thread workbe...@gmx.at
Thanks for you help. Now i've typed in one of the first examples and it throws me an strange error: > flex01.l:99: premature EOF The code looks like this: %{ #include #include #include enum {     LOOKUP = 0,     BOOL,     INT,     FLOAT,     STRING,     VEC2,     VEC3,     VEC4

Re: [OT] Help with bisonc++(1)

2018-09-12 Thread Kip Warner
P signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: Help with make and install

2018-09-12 Thread Akim Demaille
the operation. This is not intended for file sys- tem problems, which should use EX_NOINPUT or EX_CANTCREAT, but rather for higher level permis- sions. I’ll see if I can reproduce and improve the error message. ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: [OT] Help with bisonc++(1)

2018-09-12 Thread Akim Demaille
see what we can do. Cheers, Akim ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: [OT] Help with bisonc++(1)

2017-08-01 Thread Kip Warner
om signature.asc Description: This is a digitally signed message part ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: [OT] Help with bisonc++(1)

2017-08-01 Thread Hans Åberg
the > emitted code in question. That is in the Bison C++ mode. ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: [OT] Help with bisonc++(1)

2017-07-31 Thread Kip Warner
On Mon, 2017-07-31 at 10:04 +0200, Hans Åberg wrote: > As this is the list for Bison, you are not likely to get much help > here. You may try the Usenet newsgroup comp.compilers. Thanks Hans. I'll find another venue. > It may have something to with that it it is abstract. Bison

Re: [OT] Help with bisonc++(1)

2017-07-31 Thread Hans Åberg
As this is the list for Bison, you are not likely to get much help here. You may try the Usenet newsgroup comp.compilers. >warning: base class ‘class Meta__::Base’ should be explicitly >initialized in the copy constructor [-Wextra] > > I can of course suppress this warning,

Re: [OT] Help with bisonc++(1)

2017-07-30 Thread Kip Warner
on: This is a digitally signed message part ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: [OT] Help with bisonc++(1)

2017-07-28 Thread Hans Åberg
a calc++ example in the distribution which shows how to use locations for error reporting. The typed one may have a problem with the variants, but perhaps that can be fixed with std::variant of C++17, the latter which GCC supports, though there seems to be no developer right now. _

Re: [OT] Help with bisonc++(1)

2017-07-28 Thread Kip Warner
itally signed message part ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: [OT] Help with bisonc++(1)

2017-07-28 Thread Hans Åberg
ve you tried that? ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

[OT] Help with bisonc++(1)

2017-07-27 Thread Kip Warner
nyone here familiar with bisonc++(1)? Yours truly, -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ help-bison@gnu.org

Re: Help with Bison Parser

2016-10-09 Thread Hans Åberg
Bison source distribution. Did you start with that one? ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Help with Bison Parser

2016-10-03 Thread Jared Carlson
.push_back( move(v) ); return move(t); } } %% /* Grammar Rules */ So I’m not sure if the Node and std::vector containers is causing the issues, the templates code perhaps? (I found an example that used that utility and so in a real sense I’m trying to stitch the two together but they didn’t look all that different). If anyone has hints I’d greatly appreciate it. Thanks! Jared ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: Some Help Understanding Bison Grammar

2016-10-02 Thread Hans Åberg
en the lexer must read these by: %{/* -*- C++ -*- */ ... #include "parser.hh" ... %} The C++ calculator example also includes a file "driver.hh". ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Some Help Understanding Bison Grammar

2016-10-02 Thread Juan Ceasar
le" %token FACT "fact" %token SIG "sig" %token HINT “hint” %token NAME %token NUM %token SIGN REL But then, how does that tie in with the flex scanner?? Where should I be tying these two pieces together? Shouldn’t they use the same enum value (the

Re: Help with make and install

2016-09-12 Thread Balaco Baco
7; make[1]: *** [Makefile:4522: check-recursive] Error 1 make[1]: Leaving directory '/cygdrive/c/Users/Cailin_2/csci-e-95-project/src/bison-3.0.4' make: *** [Makefile:4977: check] Error 2 You seem to have the line numbers where the errors occur. If you look in the Makefile does it

Re: Help with make and install

2016-09-11 Thread Test User
5-project/src/bison-3.0.4' > make[1]: *** [Makefile:4522: check-recursive] Error 1 > make[1]: Leaving directory > '/cygdrive/c/Users/Cailin_2/csci-e-95-project/src/bison-3.0.4' > make: *** [Makefile:4977: check] Error 2 > You seem to have the line numbers where the er

Help with make and install

2016-09-11 Thread Cailin La Prairie
i-e-95-project/src/bison-3.0.4' make[2]: *** [Makefile:4975: check-am] Error 2 make[2]: Leaving directory '/cygdrive/c/Users/Cailin_2/csci-e-95-project/src/bison-3.0.4' make[1]: *** [Makefile:4522: check-recursive] Error 1 make[1]: Leaving directory '/cygdrive/c/Users/Cailin_2/csci-e-95-project/src/bison-3.0.4' make: *** [Makefile:4977: check] Error 2 ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: Re: Ask for help about bison internationalization

2015-08-26 Thread haifeng....@wellintech.com
: haifeng.qin; help-bison Subject: Re: Ask for help about bison internationalization On 08/07/2015 10:19, haifeng.qin wrote: Hi! 1. How to generate code files that the string in files is a wide-character(wstring/wchar_t)? 2. How to build bison on windows? thanks

Re: Ask for help about bison internationalization

2015-08-18 Thread Luca
On 08/07/2015 10:19, haifeng.qin wrote: Hi! 1. How to generate code files that the string in files is a wide-character(wstring/wchar_t)? 2. How to build bison on windows? thanks! ___ help-bison@gnu.org https://lists.gnu.org/mailman

Ask for help about bison internationalization

2015-07-08 Thread haifeng . qin
Hi! 1. How to generate code files that the string in files is a wide-character(wstring/wchar_t)? 2. How to build bison on windows? thanks! ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: [Flex-help] lex/yacc/gcc help (RESOLVED)

2013-11-12 Thread Akim Demaille
c. byacc is not the "original" yacc. It even turns out that Bison and Byacc have a common ancestor, but it is not the original Yacc. Here, in some way your build process depends on specific details of Byacc, which probably explains why it fails with Bison. But I'm glad that it works n

Re: [Flex-help] lex/yacc/gcc help (RESOLVED)

2013-11-08 Thread Mark Hounschell
ago though. I would have no problem providing the code if it would help me get it to build again? As far as including the whole scanner in the yacc file, the y.tab.c file does include the lex file but at the very end of it. After this BEGIN shows up. BEGIN is a macro, so it must be #defined before

Re: lex/yacc/gcc help

2013-11-06 Thread Mark Hounschell
modified to create tight scope loops. The peice of software I'm trying to build creates the assembler used to compile the micros and firmware for this board. There was a time this peice of software was "Company private". That was long ago though. I would have no problem providing

Re: lex/yacc/gcc help

2013-11-06 Thread Akim Demaille
> I assume lex.yy.c is the whole scanner? Yes, that's what I meant. > And I also assume you mean trying to include it before the BEGIN? To include it before the body of the parser. You'll have to find the right place, as the scanner certainly also wants to "see" th

Re: lex/yacc/gcc help

2013-11-05 Thread Mark Hounschell
"yacc.in" #include "mic.c" #include "fields.c" #include "lex.yy.c" I assume lex.yy.c is the whole scanner? And I also assume you mean trying to include it before the BEGIN? Regards Mark ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: lex/yacc/gcc help

2013-11-05 Thread Akim Demaille
ver see things such as "BEGIN" or "unput" in the parser: that's the scanner's job only. Either be brave and change all this, or maybe there is a way out, I don't know, by trying to #include the whole scanner in the yacc file. In either case, expect pain :(

Re: [Flex-help] lex/yacc/gcc help

2013-11-01 Thread Arthur Schwarz
Do a grep of your source files to locate which file eBEGINi is located in. It does not appear in any of the files included in you e-mail. - Original Message - From: Mark Hounschell To: help-bison@gnu.org; flex-h...@lists.sourceforge.net Cc: Sent: Friday, November 1, 2013 6:36 AM

Re: [Flex-help] lex/yacc/gcc help

2013-11-01 Thread Mark Hounschell
/01/2013 10:29 AM, Arthur Schwarz wrote: Do a grep of your source files to locate which file eBEGINi is located in. It does not appear in any of the files included in you e-mail. - Original Message - From: Mark Hounschell To: help-bison@gnu.org; flex-h...@lists.sourceforge.net Cc: Sent: F

lex/yacc/gcc help

2013-11-01 Thread Mark Hounschell
I need to do. I've subscribed and sent this email to both the flex-help and the help-bison mailing lists because I really have no idea what the problem really is. I hope that is appropiate. The Linux distribution OS is OpenSuSE-12.3 and the software versions in use are: gcc-4.7-7.1.1

Re: Need Help on GLR Parser

2012-03-05 Thread John Levine
just creates internal data structures to track all of the currently active parse stacks. All of the parallel parses read the same stream of tokens. R's, John ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Need Help on GLR Parser

2012-03-05 Thread Leepika Jena
portion of code in Bison2.5. Does parallel parsers takes advantages of multicore processors, i.e each parallel process runs on different cores simultaneously? Please help. Thanks in advance. Leepika -- View this message in context: http://old.nabble.com/Need-Help-on-GLR-Parser

Re: seeking help re. undefined reference to `rpl_fprintf' in yyerror

2012-01-25 Thread Akim Demaille
Le 3 nov. 2011 à 07:45, thiru ramakrishnan a écrit : > Hello, Hi Thiru, > I just started using Bison 2.5 (on Ubuntu 9.04 - the Jaunty Jackalope). > > I get the error referred to above. I've looked in help-bison Archives and > also searched on the Web for rpl_fprintf but

seeking help re. undefined reference to `rpl_fprintf' in yyerror

2011-11-04 Thread thiru ramakrishnan
Hello, I just started using Bison 2.5 (on Ubuntu 9.04 - the Jaunty Jackalope). I get the error referred to above. I've looked in help-bison Archives and also searched on the Web for rpl_fprintf but don't find any info. Here is the relevant portion of the gcc output: gcc -

Re: help needed : old bison 1.2.8 not support parse-param/lex-param(cpio 2.09/2.10/2.11)

2011-06-06 Thread Paul Eggert
r change getdate.y, 'make' shouldn't attempt to rebuild the output files when 'make' is running on your older environment. ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

help needed : old bison 1.2.8 not support parse-param/lex-param(cpio 2.09/2.10/2.11)

2011-06-06 Thread Mitchell Erblich
2.11 cpio? Looking for a known workaround if possible? Thanks, Mitchell Erblich UNIX Kernel Engineer : not a Bison expert or Bison newbie ___ help-bison@gnu.org https://lists.gnu

Re: help me please

2010-11-08 Thread Philip Herron
h a folder with a space in the game or m4 fails. --Phil ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

help me please

2010-11-07 Thread najim shekofteh
i want to install bison on the win xp please send for me version of bison for win xp please ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: Bison Help needed

2010-07-28 Thread Panayiotis Karabassis
On 07/29/2010 12:38 AM, Arnabendu Roy wrote: Hi Team, Could you please help me. I am new to Bison, As per the documentation, I have created the rpcalc.y and generated a parser file with the help of Bison. Now, Can I use Visual C++ to generate the object code. I am not sure if Visual C

Bison Help needed

2010-07-28 Thread Arnabendu Roy
Hi Team, Could you please help me. I am new to Bison, As per the documentation, I have created the rpcalc.y and generated a parser file with the help of Bison. Now, Can I use Visual C++ to generate the object code. I am not sure if Visual C++ (Visual Studio 2008) is ISO C89 or later. When I

Re: help-bison Digest, Vol 79, Issue 4

2010-05-10 Thread Evan Lavelle
the path right. One potential problem is that the MinGW gcc is (was?) not up-to-date. I don't have a Windows system up, but I think I have to run gcc 3.4. HTH -Evan ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: help-bison Digest, Vol 79, Issue 4

2010-05-10 Thread Dick Dunbar
On Mon, May 10, 2010 at 9:00 AM, wrote: > From: Evan Lavelle > To: help-bison@gnu.org > Date: Mon, 10 May 2010 09:18:00 +0100 > Subject: Re: bison 2.4.1 on Msys Win7 > /usr/local/share/bison/m4sugar/m4sugar.m4 > Sanity check: presumably you know that you don't have to b

Re: ask for help about bison

2010-04-19 Thread Joel E. Denny
yet stable enough to guarantee backward compatibility. You will have to update oaSpefParser.skl. To figure out how to do so, you can look for changes in the included skeletons, such as yacc.c or glr.c. ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

ask for help about bison

2010-04-14 Thread isaacson wang
help-bison, I using bison(2.3) to handle a .ypp file : bison --skeleton=oaSpefParser.skl --name-prefix=Parser --defines --file-prefix=oaSpefParser --report=itemset --verbose --output=oaSpefParser.cpp oaSpefParser.ypp In "oaSpefParser.skl" there are some marcos "b4_XXX", de

help constructing language

2010-04-07 Thread John Carlson
Does bison have any tool to help design (criticize) the language one is constructing? Is there an IDE which supports editing a parser? I am thinking about something like ANTLRworks. John ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo

Re: Help with bison errors

2010-03-10 Thread Andreas Wagner
It could help if you post ur files. Maybe theres something wrong. hmm i´m this on the following way bison -d -oparser.c parser.y // -d option creates the header for the token used in the flexer flex -oflexer.c flexer.l gcc -oparser.o -c parser.c gcc -oflexer.o -c flexer.c gcc flexer.o parser.o

Help with bison errors

2010-03-10 Thread john30
yyparse()in ccVcU1O4.o "NFA::star()", referenced from: yyparse()in ccVcU1O4.o ld: symbol(s) not found collect2: ld returned 1 exit status I don't think it's because of some include missing (I have all includes needed to read the functions). I compile the f

Re: [Flex-help] How to debug bison/flex program? usage of yyerror()

2009-12-30 Thread Marcel Laverdet
error is a macro defined by bison, not flex. There should be no >>>> yyerror in your lex file. bison's definition of yyerror is not ("%s", >>>> ...) >>>> it's something different (which depends on your options to bison). >>> >>&

Re: [Flex-help] How to debug bison/flex program? usage of yyerror()

2009-12-30 Thread Peng Yu
should use to replace the line '.      { yyerror("mystery character >> %c\n", *yytext); }' in order to catch errors. >> >> %option nodefault >> %{ >> # include "yylval_string.tab.h" >> %} >> %% >> [0-9]+ { yylval=atoi(yyte

Re: [Flex-help] How to debug bison/flex program? usage of yyerror()

2009-12-30 Thread Marcel Laverdet
. { yyerror("mystery character %c\n", *yytext); } > %% > > > >> On Tue, 29 Dec 2009 23:02:33 -0600, Peng Yu wrote: >>> I have the source files listed at the end of the message. I basically >>> want to parse a file with only numbers (separated by spac

Re: [Flex-help] How to debug bison/flex program? usage of yyerror()

2009-12-30 Thread Peng Yu
ery character %c\n", *yytext); } %% > On Tue, 29 Dec 2009 23:02:33 -0600, Peng Yu wrote: >> I have the source files listed at the end of the message. I basically >> want to parse a file with only numbers (separated by spaces) and print >> the numbers out. It is an overkill

Re: [Flex-help] How to debug bison/flex program? usage of yyerror()

2009-12-30 Thread Marcel Laverdet
urce files listed at the end of the message. I basically > want to parse a file with only numbers (separated by spaces) and print > the numbers out. It is an overkill to use bison/flex. But I just want > to try how to use bison/flex. > > I need to understand how to debug the program. C

Re: $4 of 'smthing' has no declared type---pls help

2009-12-23 Thread Daniel Rentz
efer to "replst" which is represented by "$6". See http://www.gnu.org/software/bison/manual/html_node/Mid_002dRule-Actions.html#Mid_002dRule-Actions for more details. Regards Daniel ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

$4 of 'smthing' has no declared type---pls help

2009-12-22 Thread sdatta
cpp.l cpp.l http://old.nabble.com/file/p26894424/symtab.c symtab.c http://old.nabble.com/file/p26894424/symtab.h symtab.h http://old.nabble.com/file/p26894424/makefile makefile -- View this message in context: http://old.nabble.com/%244-of-%27smthing%27-has-no-declared-type---pls

Re: please help me with this

2009-12-19 Thread Philip Herron
se < s.txt > Now if my s.txt = *graph{init{}}* > then I get output *INIT (null)RESPONSIVE STATEGRAPH FOUND.* > > However, if I change s.txt to *graph{initnabc{}}* > then I get *se: syntax error line 0* > i.e., it only recognizes state names whi

please help me with this

2009-12-19 Thread Tejas Kajarekar
re is some problem with ID. I want it to recognoze graph, init as well as the state name. I think ID definition conflicts with "graph", or "init". It also generates a warning: No new line at end of file for .l file. Please help me with this problem. __

help-bison Digest, Vol 67, Issue 1 (Answer to Message 1)

2009-05-01 Thread Naushad Ahmed
To override the default signature of yyparse() so that it can accept an argument then inside %{.. . #define YYPARSE_PARAM arg %} main() { char buffer[xxx]; yyparse(&buffer); } now in grammar actions use (char *) arg On Fri, May 1, 2009 at 9:00 AM, wrote: > Send help-bison

Re: Help requied on Bison.

2009-04-09 Thread Hans Aberg
On 8 Apr 2009, at 18:30, Alfonso Urdaneta wrote: http://tinyurl.com/bucf23 Ah, so you did not use http://www.fuckinggoogleit.com/ Hans ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

RE: Help requied on Bison.

2009-04-08 Thread Alfonso Urdaneta
s been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Indra Systems, Inc. ___ help-

Re: Help requied on Bison.

2009-04-07 Thread Hans Aberg
nd earlier. There is also one for C++: http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.11 You might also inquiry in the Usenet newsgroup comp.compilers. Hans ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Help requied on Bison.

2009-04-07 Thread chethan kotekar
INDIA ** ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: Help resolving a conflict

2009-03-19 Thread Hans Aberg
se %prec one of those. Hans Aberg ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Help resolving a conflict

2009-03-19 Thread Clarke
ssion TOKEN_RIGHTPAREN statement TOKEN_ELSE statement I put the %prec to try to resolve, but still get the shift/reduce conflict. Any ideas? Thanks! Clarke ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

help about evaluator expression

2009-03-14 Thread carlos menjivar
hi my name is carlos menjivar I need your help about an evaluator expression with bison example: (3+4)*5 I am new user I dont idea how do an evaluator _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows

Help on different versions of Bison

2009-02-05 Thread Pratyusha D
and failed as it does to have tried and succeeded. ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: Kindly Help

2008-06-26 Thread Hans Aberg
On 26 Jun 2008, at 08:16, Mukesh Kaushal wrote: I will be highly grateful if you or anybody could help me in writing code or algorithm to do this so that in future I could make changes in the functionality according to my requirement. You might ask in the Usenet newsgroup comp.compilers

Re: Kindly Help

2008-06-25 Thread Mukesh Kaushal
parse tree according to parent child relation of these elements. I will be highly grateful if you or anybody could help me in writing code or algorithm to do this so that in future I could make changes in the functionality according to my requirement. --- Thanks in advance Mukesh Kaushal On 26/06/2

Re: Kindly Help

2008-06-25 Thread Satya
> my C code so that I can extract all the xmotif related info from the code. > So kindly suggest me how to parse my C source code for this. > > -- > > --- > Regards > Mukesh Kaushal > ___ > help-bison@g

Kindly Help

2008-06-25 Thread Mukesh Kaushal
___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

help for vc++ 7.1

2008-01-02 Thread Caner Abali
Hello I downloaded and intalled "bison-2.1.exe". how can i produce c++ parser for vc++ 7.1? ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

[help-bison] large strings, was Re: newbie

2007-12-15 Thread James Long
ry nearly deleted it. "[help-bison]" is not added automatically. Laurence Finston On Thu, 13 Dec 2007, James Long wrote: I've answered my own question. The requested semantic stack for string[100] is too big. Thanks, Jim -- %% James Lo

Re: [help-bison] large strings, was Re: newbie

2007-12-15 Thread lfinsto1
I use a `class' type, since I use C++, though I do not generate a C++ parser. I simply generate a C parser and compile using `g++'. If you're using C, you could use a `struct'. You could then use an array, a linked list, a binary tree, or some other data structure to hold

Re: [help-bison] large strings, was Re: newbie

2007-12-15 Thread James Long
for you to choose more descriptive subjects. The subject "newbie" made me think this was spam and I very nearly deleted it. "[help-bison]" is not added automatically. Laurence Finston On Thu, 13 Dec 2007, James Long wrote: I've answered my own question. The requeste

Help with Error location in Bison 2.1

2007-10-25 Thread cwhite
n automatically recompute column numbers for nonterminals? I hope someone can provide or link to a sample code. Thank you. -- View this message in context: http://www.nabble.com/Help-with-Error-location-in-Bison-2.1-tf4690339.html#a13405137 Sent from the Gnu - Bison - Help mailing list archiv

Re: help with parser syntax

2007-08-06 Thread Cédric Lucantis
e the following prototypes : int yyparse (MyParser * p); int yylex (MyParser * p); Now you just have to create and initialize a MyParser struct and call yyparse(parser). You'll find more about this in the bison info page. -- Cédric Lucantis ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: help with parser syntax

2007-08-06 Thread Laurence Finston
The important point is that `yyparse' is just a function and the file of C code that contains it is just an ordinary "compilation unit". The same rules of scoping and linkage apply to them as to other functions and compilation units. Laurence Finston ___

help with parser syntax

2007-08-06 Thread cwcaceres
} ; %% For each command, I had to make a new commandlist. How do I do it so that I make Commandlist comlist; only once, at the start of the program? -- View this message in context: http://www.nabble.com/help-with-parser-syntax-tf422

Re: Help .....

2007-08-02 Thread Joel E. Denny
that I can give to flex to get it to generate in form which will make it > thread safe? You might try a Flex mailing list for those questions. ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Help .....

2007-07-30 Thread Arun K V
I couldn't understand much Please help me I have had sleepless nights on this just because I am not able to go ahead on this. Waiting for ur reply Thanks in advance... Thanks Arun ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: %help with CW

2007-06-01 Thread Hans Aberg
On 1 Jun 2007, at 00:25, Alejandro Navarro Casillas wrote: I need some help about if there is an plugin of bison & flex to run with Codewarrion on Windows XP? In the last millennium, I made such for Mac OS 9 PPC. Though it is not difficult, there are some problems: memory leaks in B

%help with CW

2007-06-01 Thread Alejandro Navarro Casillas
Hi, all I need some help about if there is an plugin of bison & flex to run with Codewarrion on Windows XP? Regards ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: List compiling parser not working as expected (help please)

2007-03-16 Thread Hans Aberg
mentioned in some FAQ. Hans Aberg ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

List compiling parser not working as expected (help please)

2007-03-15 Thread Dustin Robert Kick
ase->current); printf("yylval->string_item:%s:\n", yylval.string_item); printf("current_types->current:%s:\n", current_types->current); while(list_base->rest!=NULL) { printf("%s:\n", list_base->current); list_base=list_base->rest; } } yyerror(s) char * s; { fprintf(stderr, "%s\n", s); } Dustin Kick ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: bison/flex help

2007-03-07 Thread Satya
This is not about headers. It is a linker error. Be sure that you have compiled the lexer generated by flex (lex.yy.c or whatever) and then link the object file when you compile the parser. We can help you better if you post your compile commands. satya. -- "The time has come" the w

bison/flex help

2007-03-07 Thread srayvette
. I used the same headers, same compile commands, and still can't get it to work. Any help would be appreciated. Thanks -- View this message in context: http://www.nabble.com/bison-flex-help-tf3344013.html#a9300600 Sent from the Gnu - Bison - Help mail

Re: eclipse integration help?

2006-11-09 Thread Hans Aberg
Roman font, whatever that means. So UTF-8 does not work, it seems, and I will have to stick to Xcode until that is fixed. Hans Aberg ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: eclipse integration help?

2006-11-08 Thread alfonso
e > dually compiled, to give what you call "xemacs" (though it does not > compile on Mac OS X.4.8). I meant in the sense that like emacs/xemacs, Eclipse is now the editor that can be used to edit pretty much anything. -- alfonso e. urdaneta www.red82.com - are you ready ? ___

Re: eclipse integration help?

2006-11-08 Thread Hans Aberg
4.8). Hans Aberg ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: eclipse integration help?

2006-11-07 Thread Alfonso Urdaneta
ready ? ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: Feature Request: Help for S/R and R/R Errors

2006-10-30 Thread Hans Aberg
what is described in the "Dragon book" by Aho et al., "Compilers...". Bison is using some additional stuff, apparently, to compact states. Hans Aberg ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: Feature Request: Help for S/R and R/R Errors

2006-10-29 Thread Bob Smith
states in an attempt to understand the error. I appreciate that there might well be more than one path to get to the state with the error, but any help along these lines would be welcome. I think by experience, one can do without such a feature. S/R conflicts can often be resolved by set

  1   2   >