Lines Matching refs:calculator
106 * RPN Calc:: Reverse polish notation calculator;
108 * Infix Calc:: Infix (algebraic) notation calculator.
114 * Exercises:: Ideas for improving the multi-function calculator.
140 * Mfcalc Declarations:: Bison declarations for multi-function calculator.
141 * Mfcalc Rules:: Grammar rules for 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.
1988 * Exercises:: Ideas for improving the multi-function 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.
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
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. */
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
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.):
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)