Next: , Previous: Rpcalc Lexer, Up: RPN Calc


2.1.4 The Controlling Function

In keeping with the spirit of this example, the controlling function is kept to the bare minimum. The only requirement is that it call yyparse to start the process of parsing.

     int
     main (void)
     {
       return yyparse ();
     }