Lines Matching full:calc
104 * RPN Calc:: Reverse polish notation calculator;
106 * Infix Calc:: Infix (algebraic) notation calculator.
109 * Location Tracking Calc:: Demonstrating the use of @N and @$.
110 * Multi-function Calc:: Calculator with memory and trig functions.
264 * Calc++ --- C++ Calculator:: The specifications
265 * Calc++ Parsing Driver:: An active parsing context
266 * Calc++ Parser:: A parser class
267 * Calc++ Scanner:: A pure C++ Flex scanner
268 * Calc++ Top Level:: Conducting the band
1550 * RPN Calc:: Reverse polish notation calculator;
1552 * Infix Calc:: Infix (algebraic) notation calculator.
1555 * Location Tracking Calc:: Demonstrating the use of @N and @$.
1556 * Multi-function Calc:: Calculator with memory and trig functions.
1561 File: bison.info, Node: RPN Calc, Next: Infix Calc, Up: Examples
1586 File: bison.info, Node: Rpcalc Decls, Next: Rpcalc Rules, Up: RPN Calc
1635 File: bison.info, Node: Rpcalc Rules, Next: Rpcalc Lexer, Prev: Rpcalc Decls, Up: RPN Calc
1802 File: bison.info, Node: Rpcalc Lexer, Next: Rpcalc Main, Prev: Rpcalc Rules, Up: RPN Calc
1871 File: bison.info, Node: Rpcalc Main, Next: Rpcalc Error, Prev: Rpcalc Lexer, Up: RPN Calc
1887 File: bison.info, Node: Rpcalc Error, Next: Rpcalc Gen, Prev: Rpcalc Main, Up: RPN Calc
1915 File: bison.info, Node: Rpcalc Gen, Next: Rpcalc Compile, Prev: Rpcalc Error, Up: RPN Calc
1942 File: bison.info, Node: Rpcalc Compile, Prev: Rpcalc Gen, Up: RPN Calc
1979 File: bison.info, Node: Infix Calc, Next: Simple Error Recovery, Prev: RPN Calc, Up: Examples
1981 2.2 Infix Notation Calculator: `calc'
1987 `calc.y', an infix desk-top calculator.
2050 Here is a sample run of `calc.y':
2052 $ calc
2061 File: bison.info, Node: Simple Error Recovery, Next: Location Tracking Calc, Prev: Infix Calc, Up: Examples
2100 File: bison.info, Node: Location Tracking Calc, Next: Multi-function Calc, Prev: Simple Error Recovery, Up: Examples
2118 File: bison.info, Node: Ltcalc Decls, Next: Ltcalc Rules, Up: Location Tracking Calc
2152 File: bison.info, Node: Ltcalc Rules, Next: Ltcalc Lexer, Prev: Ltcalc Decls, Up: Location Tracking Calc
2205 File: bison.info, Node: Ltcalc Lexer, Prev: Ltcalc Rules, Up: Location Tracking Calc
2283 File: bison.info, Node: Multi-function Calc, Next: Exercises, Prev: Location Tracking Calc, Up: Examples
2331 File: bison.info, Node: Mfcalc Decl, Next: Mfcalc Rules, Up: Multi-function Calc
2340 #include "calc.h" /* Contains definition of `symrec'. */
2382 File: bison.info, Node: Mfcalc Rules, Next: Mfcalc Symtab, Prev: Mfcalc Decl, Up: Multi-function Calc
2388 them are copied directly from `calc'; three rules, those which mention
2417 File: bison.info, Node: Mfcalc Symtab, Prev: Mfcalc Rules, Up: Multi-function Calc
2428 definition, which is kept in the header `calc.h', is as follows. It
2626 File: bison.info, Node: Exercises, Prev: Multi-function Calc, Up: Examples
3072 Calculator: RPN Calc.).
5790 The following grammar file, `calc.y', will be used in the sequel:
5807 calc.y: warning: 1 useless nonterminal and 1 useless rule
5808 calc.y:11.1-7: warning: useless nonterminal: useless
5809 calc.y:11.10-12: warning: useless rule: useless: STR
5810 calc.y: conflicts: 7 shift/reduce
5812 When given `--report=state', in addition to `calc.tab.c', it creates
5813 a file `calc.output' with contents detailed below. The order of the
6655 ready to compile, in the directory "../bison/examples/calc++". It
6664 * Calc++ --- C++ Calculator:: The specifications
6665 * Calc++ Parsing Driver:: An active parsing context
6666 * Calc++ Parser:: A parser class
6667 * Calc++ Scanner:: A pure C++ Flex scanner
6668 * Calc++ Top Level:: Conducting the band
6671 File: bison.info, Node: Calc++ --- C++ Calculator, Next: Calc++ Parsing Driver, Up: A Complete C++ Example
6673 10.2.1 Calc++ -- C++ Calculator
6686 File: bison.info, Node: Calc++ Parsing Driver, Next: Calc++ Parser, Prev: Calc++ --- C++ Calculator, Up: A Complete C++ Example
6688 10.2.2 Calc++ Parsing Driver
6699 The declaration of this driver class, `calc++-driver.hh', is as
6708 # include "calc++-parser.hh"
6726 // Conducting the whole scanning and parsing of Calc++.
6769 #include "calc++-driver.hh"
6770 #include "calc++-parser.hh"
6807 File: bison.info, Node: Calc++ Parser, Next: Calc++ Scanner, Prev: Calc++ Parsing Driver, Up: A Complete C++ Example
6809 10.2.3 Calc++ Parser
6812 The parser definition file `calc++-parser.yy' starts by asking for the
6875 # include "calc++-driver.hh"
6928 File: bison.info, Node: Calc++ Scanner, Next: Calc++ Top Level, Prev: Calc++ Parser, Up: A Complete C++ Example
6930 10.2.4 Calc++ Scanner
6941 # include "calc++-driver.hh"
6942 # include "calc++-parser.hh"
7029 File: bison.info, Node: Calc++ Top Level, Prev: Calc++ Scanner, Up: A Complete C++ Example
7031 10.2.5 Calc++ Top Level
7034 The top level file, `calc++.cc', poses no problem.
7037 #include "calc++-driver.hh"
7892 Calc::.
8499 * calc: Infix Calc. (line 6)
8500 * calculator, infix notation: Infix Calc. (line 6)
8501 * calculator, location tracking: Location Tracking Calc.
8503 * calculator, multi-function: Multi-function Calc. (line 6)
8504 * calculator, simple: RPN Calc. (line 6)
8619 * infix notation calculator: Infix Calc. (line 6)
8650 * location tracking calculator: Location Tracking Calc.
8660 * ltcalc: Location Tracking Calc.
8665 * mfcalc: Multi-function Calc. (line 6)
8667 * multi-function calculator: Multi-function Calc. (line 6)
8699 * polish notation calculator: RPN Calc. (line 6)
8719 * reverse polish notation: RPN Calc. (line 6)
8721 * rpcalc: RPN Calc. (line 6)
8886 Node: RPN Calc71780
8897 Node: Infix Calc87085
8899 Node: Location Tracking Calc91743
8903 Node: Multi-function Calc97715
8985 Node: Calc++ --- C++ Calculator268079
8986 Node: Calc++ Parsing Driver268589
8987 Node: Calc++ Parser272324
8988 Node: Calc++ Scanner276092
8989 Node: Calc++ Top Level279417