⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bison_2.htm

📁 Lex和Yacc的Manual
💻 HTM
字号:
<HTML><HEAD><!-- This HTML file has been created by texi2html 1.44     from /opt/src/gnu/bison-1.25/bison.texinfo on 30 June 1997 --><TITLE>Bison 1.25 - Conditions for Using Bison</TITLE></HEAD><BODY>Go to the <A HREF="bison_1.html">first</A>, <A HREF="bison_1.html">previous</A>, <A HREF="bison_3.html">next</A>, <A HREF="bison_15.html">last</A> section, <A HREF="index.html">table of contents</A>.<HR><H1><A NAME="SEC2" HREF="index.html#SEC2">Conditions for Using Bison</A></H1><P>As of Bison version 1.24, we have changed the distribution terms for<CODE>yyparse</CODE> to permit using Bison's output in non-free programs.Formerly, Bison parsers could be used only in programs that were freesoftware.</P><P>The other GNU programming tools, such as the GNU C compiler, have neverhad such a requirement.  They could always be used for non-freesoftware.  The reason Bison was different was not due to a specialpolicy decision; it resulted from applying the usual General PublicLicense to all of the Bison source code.</P><P>The output of the Bison utility--the Bison parser file--contains averbatim copy of a sizable piece of Bison, which is the code for the<CODE>yyparse</CODE> function.  (The actions from your grammar are insertedinto this function at one point, but the rest of the function is notchanged.)  When we applied the GPL terms to the code for <CODE>yyparse</CODE>,the effect was to restrict the use of Bison output to free software.</P><P>We didn't change the terms because of sympathy for people who want tomake software proprietary.  <STRONG>Software should be free.</STRONG>  But weconcluded that limiting Bison's use to free software was doing little toencourage people to make other software free.  So we decided to make thepractical conditions for using Bison match the practical conditions forusing the other GNU tools.</P><HR>Go to the <A HREF="bison_1.html">first</A>, <A HREF="bison_1.html">previous</A>, <A HREF="bison_3.html">next</A>, <A HREF="bison_15.html">last</A> section, <A HREF="index.html">table of contents</A>.</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -