diff options
author | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-09-28 21:08:29 +0000 |
---|---|---|
committer | Timothy Bauscher <timothy@linuxfromscratch.org> | 2002-09-28 21:08:29 +0000 |
commit | 2c094d60db777dce20fd4eccf4996299c2a0dfe0 (patch) | |
tree | 6059aa8ca1a67a6e974f8802b9af66a7330272a4 /appendixa/bison-desc.xml | |
parent | f5cc1c171ba0c9aece1fe1046ce4dbaed8850e9f (diff) |
Applied Bill Maltby's grammar patch. Changed $LFS to LFS where appropriate. Internal XML cleanup: removed double spacing where appropriate.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2138 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'appendixa/bison-desc.xml')
-rw-r--r-- | appendixa/bison-desc.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appendixa/bison-desc.xml b/appendixa/bison-desc.xml index 5c5fa1070..77b0432b7 100644 --- a/appendixa/bison-desc.xml +++ b/appendixa/bison-desc.xml @@ -15,7 +15,7 @@ Another Compiler Compiler. What is bison then? It is a program that generates a program that analyzes the structure of a text file. Instead of writing the actual program a user specifies how things should be connected and with those rules a program is constructed that analyzes the -text file. There are a lot of examples where structure is needed and +text file. There are a lot of examples where structure is needed and one of them is the calculator.</para> <para>Given the string :</para> @@ -39,7 +39,7 @@ to the compiler:</para> multiplies 2 and 3. The result of that multiplication is remembered and the next thing that the computer sees is the result of 2*3 and the number 1 which are joined by the add symbol. Adding 1 to the previous -result makes 7. In calculating the most complex calculations can be +result makes 7. In calculating, the most complex calculations can be broken down in this tree format and the computer just starts at the bottom and works its way up to the top and comes with the correct answer. Of course, bison isn't only used for calculators |