Re: What does ".tab" mean?

2017-03-28 Thread Alfonso Urdaneta
#x27;s just what the files are called by convention. You can change this with the -o option. Alfonso. -- Alfonso Urdaneta red82 // software ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Re: Parsing/defining getopt style strings

2015-08-17 Thread Alfonso Urdaneta
Hi Michael, On 8/17/15 10:20 AM, Michael Treibton wrote: Thank you for your reply. Boost lib? This is in C, not C++, and if it's the libboost I'm thinking you mean, how would this help me with an implementation of getopt strings in YACC? Indeed, I could just use getopt(), but this is now getti

Re: Parsing/defining getopt style strings

2015-08-17 Thread Alfonso Urdaneta
Hi Michael. There's a boost lib for what you want to do that's probably easier. Alfonso On Monday, August 17, 2015, Michael Treibton wrote: > Hello all, > > I have an existing application which uses a lot of YACC for its > configuration file. In trying to stream-line a lot of options, and > f

Re: Bison for windows ?

2014-09-18 Thread Alfonso Urdaneta
On 9/18/14, 1:30 PM, John H. Lindsay wrote: I'm looking for Bison for Windows (any version), but unless I am missing something or misunderstanding something, all I seem to see is the development version for Unix (Linux ?). Any comments or pointers would be helpful. Hi John, I've had success u

Re: Question about bison license

2011-05-10 Thread Alfonso Urdaneta
On 5/4/11 2:26 PM, Andrey Kouninski (kounina) wrote: Please elaborate what is the license on this file because is different than the tarballs from bison? Is there any exception ally for this file? It is to allow you to use bison generated parsers in closed source projects. This is different

Re: grammar for propositional logic

2010-08-31 Thread Alfonso Urdaneta
On 9/1/10 1:01 AM, Martin McDermott wrote: I'm trying to write a simple grammar for propositional logic for a project of mine, with support for AND, OR, XOR, NOT. Nothing fancy, only I cant seem to come up with a correct grammar. My simple test cases all give me syntax errors. Anyone mind taking

resubscribe test

2010-08-29 Thread Alfonso Urdaneta
resubscribing after a long time off, this list still alive? -- alfonso e. urdaneta red82.com - are you ready? ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

RE: Help requied on Bison.

2009-04-08 Thread Alfonso Urdaneta
> I am Chethan, new to GNU and Bison. > > My requirement, > > Parser to parse standard C file that gives me the parsed output so that I can use > this in other scripting languages. http://tinyurl.com/bucf23 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ This e-mail

Re: Building bison 2.1 on Windows

2007-09-25 Thread Alfonso Urdaneta
[EMAIL PROTECTED] wrote: I'm still searching, but as of now, the only bison executables for Windows that I have found is version 1.24 - way too old for my purposes. Any ideas about where I can find bison 2.1? this is what came with a cygwin install (http://www.cygwin.com/) $ bison --version

Re: Building bison 2.1 on Windows

2007-09-24 Thread Alfonso Urdaneta
I've been using pre-built cygwin binaries on windows for probably six years now with absolutely no problems. Unless your interest is academic, or you're editing the bison codebase itself, I'd say rolling your own is an exercise in wasted time. -- alfonso e. urdaneta _ _ _ _ _ _ _ _ _ _ _ _ _

Re: #include in lex.yy.c

2007-09-20 Thread Alfonso Urdaneta
cwhite wrote: Googling this, the suggested solution was to compile lex.yy.c as C++ file. I did that and it compiled without errors but when I run it, it doesn't tokenize anymore. try renaming the .c file to .cpp. For some reason I seem to remember this being the trick to getting Micosoft Stu

Re: Bison XML Automaton Report

2007-08-21 Thread Alfonso Urdaneta
Wojciech Polak wrote: Hello, I'd like to inform you that the XML Automaton Report task has been completed, including the definition of an XML grammar, implementation in production, and two XSLT transformations. Please visit http://www.gnu.org.ua/~polak/notes/bison-xml-report.html for the detaile

Re: Conflicts in large grammar

2007-08-09 Thread Alfonso Urdaneta
Hans Aberg wrote: What are the cons and pros of the two? Mac OS X 10.4.10 comes with CVS but not the other, so that one is easier for me. svn lets you rename / move files without losing history. This is huge. svn lets you group files for actions, i.e. if you check in 900 files, and one fail

Re: Conflicts in large grammar

2007-08-08 Thread Alfonso Urdaneta
Hans Aberg wrote: The Bison from the CVS works fine, too. :-) they haven't switched to svn yet? -- alfonso e. urdaneta _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ This e-mail and any files transmitted with it are confidential and intended solely for the use of

Re: bison version

2007-08-03 Thread Alfonso Urdaneta
Ruud van der Meer wrote: Thanks for this help! However if I replace "GNU Bison version 1.25" by "GNU Bison version 1.24" my Visio Studio says: bison.simple: No such file or directory while I have a version of this file "bison.simple" in the same directory as "bison.exe". I tried to replace

Re: Is the Gnu diction Package is bison and flex Candidate=

2007-08-02 Thread Alfonso Urdaneta
Hans Aberg wrote: Time flies like an arrow, fruit flies like a banana. The version I'm familiar with is "Time flies like the wind, fruit flies like bananas". -- alfonso e. urdaneta _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ This e-mail and any files tran

Re: Bison Version Compatibility

2007-08-01 Thread Alfonso Urdaneta
cwcaceres wrote: Is Bison/Flex better than Bison++/Flex++ then? I have no idea, I just used them because I'm accustomed to them, and they work fine for me. I also integrate them with a C++ application with no problems, so C++ integration is your motivation for wanting to use the the "++" ve

Re: Bison Version Compatibility

2007-08-01 Thread Alfonso Urdaneta
Camille Caceres wrote: Hello, I hope someone can help me with some information. I am using Microsoft Visual Studio .NET 2003. Is there a specific version of Bison that is compatible with this? I think Bison 2.1 is the latest version but I'm not sure. I would also like to know what version of Flex

Re: bison version

2007-07-30 Thread Alfonso Urdaneta
Ruud van der Meer wrote: I am looking for a bison version 1.24 for windows. Who knows where I can download this? ah, you want a version that is even older than the one on the gnu ftp site. I have no idea, sorry. -- alfonso e. urdaneta _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Re: bison version

2007-07-30 Thread Alfonso Urdaneta
Ruud van der Meer wrote: I am looking for a bison version 1.24 for windows. Who knows where I can download this? http://ftp.gnu.org/gnu/bison/ ? -- alfonso e. urdaneta _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ This e-mail and any files transmitted with it ar

back to the list

2007-07-23 Thread Alfonso Urdaneta
SO I'm working on flex/bison stuff, once again, so I'm re-subbing after a few years off. Quick question: has anyone successfully used the grammar at http://www.lysator.liu.se/c/ANSI-C-grammar-y.html? Thanks, -- alfonso e. urdaneta _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Re: eclipse integration help?

2006-11-07 Thread Alfonso Urdaneta
Hans Aberg wrote: On 27 Oct 2006, at 21:34, bernd wrote: I was googeling quite a bit without real success. Does anybody has some advice or can point me to a web site on how to set up an Eclipse project that integrates Bison in a decent way? Isn't it a Java platform? Bison is only C-code, b

Re: spam to help-bison -- mailing list changes

2005-05-18 Thread Alfonso Urdaneta
Bob Proulx wrote: help-bison subscribers, You may have noticed an increase lately in the amount of spam to the help-bison list. If you have local filtering in place you may not have noticed. But looking in the archives for a previous posting would reveal the noise there. good. lets hope it works

Re: Bison and embedded systems

2005-04-25 Thread Alfonso Urdaneta
Paul Eggert wrote: If by "dynamic memory" you mean "malloc or alloca", then yes, it's easy: #define YYSTACK_ALLOC(size) 0 that _is_ easy. ;] -- alfonso e. urdaneta www.red82.com - are you ready ? ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listin

Re: viewing parse tree

2005-04-24 Thread Alfonso Urdaneta
Henrik Sorensen wrote: Combined with LaTex, I used it to generate an online reference manual for the pl1gcc project (pl1gcc.sourceforge.net) click on manual to see a sample Just looked at your docs - that is very cool. -- alfonso e. urdaneta www.red82.com - are you ready ?

Re: error decoding before a numeric constant

2005-04-19 Thread Alfonso Urdaneta
Eneko Nieto wrote: Hello we have the following error while compiling with bison: error de decodificación antes de una constante numérica I didn't even know that bison had error messages in spanish. Are you sure they are coming from bison ? -- alfonso e. urdaneta www.red82.com - are you ready ? _

Re: Flex Problem, I did not find a list for Flex hence postin here.

2005-04-04 Thread Alfonso Urdaneta
Atul Kulkarni wrote: I am trying to redirect the standard input of flex to a character pointer, I do not want to read a file for my input but want to tokenize and parse a character string I have. search the flex documentation for _scan_string() -- alfonso e. urdaneta www.red82.com - are you ready ?

Re: problem linking program containing bison-generated parser

2005-03-13 Thread Alfonso Urdaneta
Volker Wegert wrote: I prefer Qt to STL - not only because I know it better, but also because of the documentation. I haven't found an adequate documentation for STL yet, sorry :-) http://www.sgi.com/tech/stl/table_of_contents.html thats the one I use. -- alfonso e. urdaneta www.red82.com - are you

Re: problem linking program containing bison-generated parser

2005-03-13 Thread Alfonso Urdaneta
Volker Wegert wrote: Alfonso Urdaneta <[EMAIL PROTECTED]> writes: Works without problems, now :-) Do you know why, or don't really care once it works ? I don't know why, and yes, I'd like to know. :-) Thanks in advance Volker C++ allows you to create functions with the sa

Re: Identifying rule responsible for lookahead

2005-03-10 Thread Alfonso Urdaneta
No, there is no such Bison design doc's: Only reading the Bison source code itself. (Apart from that somebody wrote something in Spanish, I think.) link ? -- alfonso e. urdaneta www.red82.com - are you ready ? ___ Help-bison@gnu.org http://lists.gnu.org/m

Re: problem linking program containing bison-generated parser

2005-03-10 Thread Alfonso Urdaneta
Volker Wegert wrote: However, I get the following error message during linking (output abbreviated): Stupid question, but I assume that you are aware of the name mangling in C++ and are properly externing your declarations to compensate ? -- alfonso e. urdaneta www.red82.com - are you ready ? ___

Re: bison install

2005-03-02 Thread Alfonso Urdaneta
Plantier, Spencer wrote: I have installed m4-1.4 and made sure the path is in my path statement. When I install bison I get the following error: checking for gnum4... no checking for m4... /usr/ccs/bin/m4 checking whether m4 supports frozen files... no configure: error: GNU M4 1.4 is required Any h