Jump to content

Talk:GNU Bison: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Implementing WP:PIQA (Task 26)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{WikiProject Computing |class=C |importance=Low |software=yes |software-importance=Low}}
{{WikiProject banner shell|class=C|
{{WikiProject Computing |importance=Low |software=yes |software-importance=Low |free-software=yes}}
}}


==What this page needs==
==What this page needs==

Latest revision as of 23:52, 26 January 2024

What this page needs

[edit]

This page needs a few things, IMHO:

I started a "Who is using it" section. It lacks a lot of real-world usage, though. Espadrine (talk) 13:07, 1 July 2011 (UTC)[reply]

More Explanation

[edit]

Agreeing with the above, I believe more explanation of where it stands in the whole perspective of the parsing process. It says it is used along with flex, but what role to each play with each other.

jptdrake 18:11, 4 February 2007 (UTC)[reply]

Circumstance hereby elects you to do improve this in a small or large way. Gronky 19:00, 4 February 2007 (UTC)[reply]
I agree that just describing it as "a parser generator" is ambiguous. This article does already say that flex is an automatic lexical analyzer, but it does not state explicitly that Bison generates a semantic analyzer. I think that defining the two concepts (lexical and semantic) and making a corresponding distinction between Bison and Flex is critical to the explanation of Bison. I however am not sure of the correct terminology and I cannot find a good resource to cite. Sam Tomato (talk) 20:50, 11 January 2015 (UTC)[reply]

Word play

[edit]

Yak / bison, now I got it. --Abdull (talk) 10:37, 26 February 2008 (UTC)[reply]

I notice that the source of the name is not mentioned anywhere in the article. I would think that the above is correct and it is a play on yacc/yak, but I can't find any sources that explicitly say so. Are there any? - Paul Richter (talk) 04:43, 25 January 2012 (UTC)[reply]
http://www.developer.com/net/cplus/article.php/3642516/Classic-Parsing-with-Flex-and-Bison.htm would suffice. Probably there are no authoritative sources TEDickey (talk) 09:21, 25 January 2012 (UTC)[reply]
You might find this helpful: http://tvtropes.org/pmwiki/pmwiki.php/Main/DontExplainTheJoke TEDickey (talk) 09:39, 25 January 2012 (UTC)[reply]

AFAIK yacc stands for "Yet another compiler compiler". — Preceding unsigned comment added by 84.112.247.209 (talk) 19:24, 8 November 2014 (UTC)[reply]

GCC

[edit]

This current article states that "GCC" once used Bison but later switched. However, the provided reference (a mailing list post made before the work even happened) only refers GCC's C++ front-end and specifically states that (at the time) they had no intention of replacing the C parser.

I haven't taken the time to research whether or not Bison was replaced wholesale or just for C++. However, What "GCC" actually refers to should probably be clarified and matched with a more appropriate reference. -- Craigbarnes85 (talk) 09:43, 11 August 2011 (UTC)[reply]

Is Bash's distribution of generated files special?

[edit]

In the list of applications using Bison, I removed this from the entry about Bash:

  • It is distributed with Bison-generated files.

I guess this is referring to distributing Bash's source code. I.e. Bash probably distributes the C files generated by Bison so that others can recompile Bash without having to have a compatible version of Bison installed. (This is in addition to Bash distributing the parser source code that gets fed into Bison, as required by the GPL.)

AFAIK, this is common practice, so it should be a general comment in the article rather than just being attached to Bash. I'll do that now. Just wanted to leave a note in case I'd misunderstood. Can someone reply to say I've got this right/wrong? Gronky (talk) 23:19, 4 August 2013 (UTC)[reply]

bash's use of bison

[edit]

A quick check of bash 4.1's source shows that while it is distributed with parse.c and parse.h generated by bison, it is not using any bison-specific features. So the "use" is only superficial (and unless commented on more explicitly, the tie-in can be removed). TEDickey (talk) 23:25, 4 August 2013 (UTC)[reply]

Ok, thanks for checking that. I went ahead and wrote a section about this: GNU_bison#Licence_and_distribution_of_generated_code.
BTW, I remember us talking on a Talk page previously, could be one or three years ago, and I said I'd fix up an article about a free software package, but I never did. Can you remember which one? Gronky (talk) 00:11, 5 August 2013 (UTC)[reply]
That was this, and I did merge them. TEDickey (talk) 00:25, 5 August 2013 (UTC)[reply]
Wow, I can't believe that discussion was 5 years ago. Thanks for doing the merger. Gronky (talk) 00:31, 5 August 2013 (UTC)[reply]
no problem (time goes rapidly...) TEDickey (talk) 00:48, 5 August 2013 (UTC)[reply]
Hmm, interesting. Gronky (talk) 00:19, 5 August 2013 (UTC)[reply]
Technically, bash can work with byacc output as well (though the reason for not doing that is unrelated to license issues). TEDickey (talk) 00:25, 5 August 2013 (UTC)[reply]
I've described the problem I saw: GNU_bison#Where_is_it_used.3F
But I don't know what byacc is, so it could be incomplete or even wrong. Gronky (talk) 00:31, 5 August 2013 (UTC)[reply]
Berkeley Yacc TEDickey (talk) 00:39, 5 August 2013 (UTC)[reply]
For what it's worth, byacc implements %pure_parser, and (though the source implementation is deliberately slightly different), can replace bison on some of those uses (not all). (I see that you noted that). TEDickey (talk) 08:05, 5 August 2013 (UTC)[reply]
[edit]

Hello fellow Wikipedians,

I have just modified one external link on GNU bison. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 16:33, 9 October 2017 (UTC)[reply]

Please give some credits...

[edit]

...and informations about the initial author of this tool. You could do this in a history section - which would be cool. It´s an important open source tool helping programmers around the world for decades and it's still being used. It's author demands to be listet in this encyclopedia. 91.89.26.15 (talk) 23:18, 18 April 2020 (UTC)[reply]