aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bison.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/bison.xml')
-rw-r--r--chapter06/bison.xml54
1 files changed, 50 insertions, 4 deletions
diff --git a/chapter06/bison.xml b/chapter06/bison.xml
index ad2b668bc..8626349bf 100644
--- a/chapter06/bison.xml
+++ b/chapter06/bison.xml
@@ -3,13 +3,14 @@
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
-<sect1 id="ch-system-bison" xreflabel="Bison" role="wrap">
+<sect1 id="ch-system-bison" role="wrap">
<title>Bison-&bison-version;</title>
<?dbhtml filename="bison.html"?>
<indexterm zone="ch-system-bison"><primary sortas="a-Bison">Bison</primary></indexterm>
<sect2 role="package"><title/>
+<para>The Bison package contains a parser generator.</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
@@ -17,6 +18,11 @@
<seglistitem><seg>0.6 SBU</seg><seg>10.6 MB</seg></seglistitem>
</segmentedlist>
+<segmentedlist>
+<segtitle>Bison installation depends on</segtitle>
+<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
+GCC, Gettext, Glibc, Grep, M4, Make, and Sed</seg></seglistitem>
+</segmentedlist>
</sect2>
<sect2 role="installation">
@@ -33,17 +39,57 @@
<para>To test the results, issue:
<userinput>make check</userinput>.</para>
-<para>Now install the package:</para>
+<para>Install the package:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
-
<sect2 id="contents-bison" role="content"><title>Contents of Bison</title>
-<para>See testing</para>
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<segtitle>Installed library</segtitle>
+<seglistitem><seg>bison and yacc</seg><seg>liby.a</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+
+<varlistentry id="bison">
+<term><command>bison</command></term>
+<listitem>
+<para>generates, from a series of rules, a program for analyzing the
+structure of text files; <application>Bison</application> is a
+replacement for <application>Yacc</application> (Yet Another Compiler
+Compiler)</para>
+<indexterm zone="ch-system-bison bison"><primary sortas="b-bison">bison</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="yacc">
+<term><command>yacc</command></term>
+<listitem>
+<para>a wrapper for <command>bison</command>, meant for programs
+that still call <command>yacc</command> instead of <command>bison</command>;
+it calls <command>bison</command> with the <parameter>-y</parameter> option</para>
+<indexterm zone="ch-system-bison yacc"><primary sortas="b-yacc">yacc</primary></indexterm>
+</listitem>
+</varlistentry>
+
+<varlistentry id="liby.a">
+<term><filename class="libraryfile">liby.a</filename></term>
+<listitem>
+<para>the Yacc library containing implementations of Yacc-compatible
+<emphasis>yyerror</emphasis> and <emphasis>main</emphasis> functions;
+this library is normally not very useful, but POSIX requires
+it</para>
+<indexterm zone="ch-system-bison liby.a"><primary sortas="c-liby.a">liby.a</primary></indexterm>
+</listitem>
+</varlistentry>
+</variablelist>
</sect2>
</sect1>
+