OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>The Lemon Parser Generator</title> | 3 <title>The Lemon Parser Generator</title> |
4 </head> | 4 </head> |
5 <body bgcolor=white> | 5 <body bgcolor=white> |
6 <h1 align=center>The Lemon Parser Generator</h1> | 6 <h1 align=center>The Lemon Parser Generator</h1> |
7 | 7 |
8 <p>Lemon is an LALR(1) parser generator for C or C++. | 8 <p>Lemon is an LALR(1) parser generator for C or C++. |
9 It does the same job as ``bison'' and ``yacc''. | 9 It does the same job as ``bison'' and ``yacc''. |
10 But lemon is not another bison or yacc clone. It | 10 But lemon is not another bison or yacc clone. It |
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 | 883 |
884 <p>If the parser pops its stack until the stack is empty, and it still | 884 <p>If the parser pops its stack until the stack is empty, and it still |
885 is unable to shift the error symbol, then the %parse_failed routine | 885 is unable to shift the error symbol, then the %parse_failed routine |
886 is invoked and the parser resets itself to its start state, ready | 886 is invoked and the parser resets itself to its start state, ready |
887 to begin parsing a new file. This is what will happen at the very | 887 to begin parsing a new file. This is what will happen at the very |
888 first syntax error, of course, if there are no instances of the | 888 first syntax error, of course, if there are no instances of the |
889 ``error'' non-terminal in your grammar.</p> | 889 ``error'' non-terminal in your grammar.</p> |
890 | 890 |
891 </body> | 891 </body> |
892 </html> | 892 </html> |
OLD | NEW |