Lines Matching full:calc
142 * RPN Calc:: Reverse polish notation calculator;
144 * Infix Calc:: Infix (algebraic) notation calculator.
147 * Location Tracking Calc:: Demonstrating the use of @@@var{n} and @@$.
148 * Multi-function Calc:: Calculator with memory and trig functions.
302 * Calc++ --- C++ Calculator:: The specifications
303 * Calc++ Parsing Driver:: An active parsing context
304 * Calc++ Parser:: A parser class
305 * Calc++ Scanner:: A pure C++ Flex scanner
306 * Calc++ Top Level:: Conducting the band
1362 * RPN Calc:: Reverse polish notation calculator;
1364 * Infix Calc:: Infix (algebraic) notation calculator.
1367 * Location Tracking Calc:: Demonstrating the use of @@@var{n} and @@$.
1368 * Multi-function Calc:: Calculator with memory and trig functions.
1373 @node RPN Calc
1767 @sc{calc}ulator''). Bison produces a file named @file{@var{file}.tab.c},
1818 @node Infix Calc
1819 @section Infix Notation Calculator: @code{calc}
1821 @cindex @code{calc}
1827 @file{calc.y}, an infix desk-top calculator.
1895 Here is a sample run of @file{calc.y}:
1899 $ @kbd{calc}
1950 @node Location Tracking Calc
2155 @node Multi-function Calc
2216 #include "calc.h" /* Contains definition of `symrec'. */
2267 Most of them are copied directly from @code{calc}; three rules,
2313 definition, which is kept in the header @file{calc.h}, is as follows. It
3059 @acronym{RPN} and infix calculator examples (@pxref{RPN Calc, ,Reverse Polish
6255 The following grammar file, @file{calc.y}, will be used in the sequel:
6275 calc.y: warning: 1 useless nonterminal and 1 useless rule
6276 calc.y:11.1-7: warning: useless nonterminal: useless
6277 calc.y:11.10-12: warning: useless rule: useless: STR
6278 calc.y: conflicts: 7 shift/reduce
6281 When given @option{--report=state}, in addition to @file{calc.tab.c}, it
6282 creates a file @file{calc.output} with contents detailed below. The
7231 ready to compile, in the directory @dfn{../bison/examples/calc++}. It
7239 * Calc++ --- C++ Calculator:: The specifications
7240 * Calc++ Parsing Driver:: An active parsing context
7241 * Calc++ Parser:: A parser class
7242 * Calc++ Scanner:: A pure C++ Flex scanner
7243 * Calc++ Top Level:: Conducting the band
7246 @node Calc++ --- C++ Calculator
7247 @subsection Calc++ --- C++ Calculator
7261 @node Calc++ Parsing Driver
7262 @subsection Calc++ Parsing Driver
7275 The declaration of this driver class, @file{calc++-driver.hh}, is as
7280 @comment file: calc++-driver.hh
7286 # include "calc++-parser.hh"
7296 @comment file: calc++-driver.hh
7312 @comment file: calc++-driver.hh
7314 // Conducting the whole scanning and parsing of Calc++.
7331 @comment file: calc++-driver.hh
7342 @comment file: calc++-driver.hh
7356 @comment file: calc++-driver.hh
7370 @comment file: calc++-driver.cc
7372 #include "calc++-driver.hh"
7373 #include "calc++-parser.hh"
7410 @node Calc++ Parser
7411 @subsection Calc++ Parser
7413 The parser definition file @file{calc++-parser.yy} starts by asking for
7419 @comment file: calc++-parser.yy
7435 @comment file: calc++-parser.yy
7448 @comment file: calc++-parser.yy
7461 @comment file: calc++-parser.yy
7475 @comment file: calc++-parser.yy
7485 @comment file: calc++-parser.yy
7500 @comment file: calc++-parser.yy
7503 # include "calc++-driver.hh"
7515 @comment file: calc++-parser.yy
7529 @comment file: calc++-parser.yy
7540 @comment file: calc++-parser.yy
7566 @comment file: calc++-parser.yy
7576 @node Calc++ Scanner
7577 @subsection Calc++ Scanner
7582 @comment file: calc++-scanner.ll
7589 # include "calc++-driver.hh"
7590 # include "calc++-parser.hh"
7612 @comment file: calc++-scanner.ll
7620 @comment file: calc++-scanner.ll
7636 @comment file: calc++-scanner.ll
7655 @comment file: calc++-scanner.ll
7680 @comment file: calc++-scanner.ll
7697 @node Calc++ Top Level
7698 @subsection Calc++ Top Level
7700 The top level file, @file{calc++.cc}, poses no problem.
7702 @comment file: calc++.cc
7705 #include "calc++-driver.hh"
8653 information in repeated uses of a symbol. @xref{Multi-function Calc}.
8691 @c LocalWords: ifnottex yyparse detailmenu GLR RPN Calc var Decls Rpcalc
8698 @c LocalWords: ungetc stdin scanf sc calc ulator ls lm cc NEG prec yyerrok