Home | History | Annotate | Download | only in doc

Lines Matching full:calculator

106 * RPN Calc::               Reverse polish notation calculator;
108 * Infix Calc:: Infix (algebraic) notation calculator.
112 * Multi-function Calc:: Calculator with memory and trig functions.
114 * Exercises:: Ideas for improving the multi-function calculator.
116 Reverse Polish Notation Calculator
132 Location Tracking Calculator: `ltcalc'
138 Multi-Function Calculator: `mfcalc'
140 * Mfcalc Declarations:: Bison declarations for multi-function calculator.
141 * Mfcalc Rules:: Grammar rules for the calculator.
306 * Calc++ --- C++ Calculator:: The specifications
328 * Implementing Gotos/Loops:: Control Flow in the Calculator
1360 nonterminal symbol. For example, in a calculator, an expression
1969 reverse polish notation calculator, an algebraic (infix) notation
1970 calculator -- later extended to track "locations" -- and a
1971 multi-function calculator. All produce usable, though limited,
1980 * RPN Calc:: Reverse polish notation calculator;
1982 * Infix Calc:: Infix (algebraic) notation calculator.
1986 * Multi-function Calc:: Calculator with memory and trig functions.
1988 * Exercises:: Ideas for improving the multi-function calculator.
1993 2.1 Reverse Polish Notation Calculator
1997 notation" calculator (a calculator using postfix operators). This
2002 The source code for this calculator is named `rpcalc.y'. The `.y'
2022 calculator. As in C, comments are placed between `/*...*/'.
2024 /* Reverse polish notation calculator. */
2070 Here are the grammar rules for the reverse polish notation calculator.
2138 legitimate to type `Ctrl-d' right after you start the calculator. It's
2247 Only a simple lexical analyzer is needed for the RPN calculator.
2346 will cause the calculator program to exit. This is not clean behavior
2347 for a real calculator, but it is adequate for the first example.
2371 Polish CALCulator"). Bison produces a parser implementation file named
2417 2.2 Infix Notation Calculator: `calc'
2423 `calc.y', an infix desk-top calculator.
2425 /* Infix notation calculator. */
2509 that an erroneous input line causes the calculator program to exit.
2533 exception signal that is normally fatal. A real calculator program
2542 2.4 Location Tracking Calculator: `ltcalc'
2545 This example extends the infix notation calculator with location
2547 the sake of clarity, this example is a simple integer calculator, since
2563 The C and Bison declarations for the location tracking calculator are
2564 the same as the declarations for the infix notation calculator.
2566 /* Location tracking calculator. */
2730 2.5 Multi-Function Calculator: `mfcalc'
2736 calculator that provides other mathematical functions such as `sin',
2739 It is easy to add new operators to the infix calculator as long as
2747 At the same time, we will add memory to the calculator, by allowing you
2749 Here is a sample session with the multi-function calculator:
2771 * Mfcalc Declarations:: Bison declarations for multi-function calculator.
2772 * Mfcalc Rules:: Grammar rules for the calculator.
2781 Here are the C and Bison declarations for the multi-function calculator.
2832 Here are the grammar rules for the multi-function calculator. Most of
2870 The multi-function calculator requires a symbol table to keep track of
2956 include files, you can add additional functions to the calculator.
3791 For example, the calculator calculates properly because the value
3814 RPN and infix calculator examples (*note Reverse Polish Notation
3815 Calculator: RPN Calc.).
6371 For example, suppose the infix calculator has read `1 + 5 *', with a
6384 For example, if the infix calculator's parser stack contains this:
7567 rest of the input file and check it for errors; a calculator should
8528 calculator, `mfcalc' (*note Multi-function Calc::). To enable run-time
8680 calculator (*note Declarations for `mfcalc': Mfcalc Declarations.):
9430 * Calc++ --- C++ Calculator:: The specifications
9437 File: bison.info, Node: Calc++ --- C++ Calculator, Next: Calc++ Parsing Driver, Up: A Complete C++ Example
9439 10.1.6.1 Calc++ -- C++ Calculator
9452 File: bison.info, Node: Calc++ Parsing Driver, Next: Calc++ Parser, Prev: Calc++ --- C++ Calculator, Up: A Complete C++ Example
10346 * Implementing Gotos/Loops:: Control Flow in the Calculator
10511 My simple calculator supports variables, assignments, and
12187 * calculator, infix notation: Infix Calc. (line 6)
12188 * calculator, location tracking: Location Tracking Calc.
12190 * calculator, multi-function: Multi-function Calc. (line 6)
12191 * calculator, simple: RPN Calc. (line 6)
12342 * infix notation calculator: Infix Calc. (line 6)
12386 * location tracking calculator: Location Tracking Calc.
12406 * multi-function calculator: Multi-function Calc. (line 6)
12450 * polish notation calculator: RPN Calc. (line 6)
12819 Node: Calc++ --- C++ Calculator379819