• Home
  • Raw
  • Download

Lines Matching refs:analyzer

156 * Lexer: Rpcalc Lexer.  The lexical analyzer.
172 * Lexer: Ltcalc Lexer. The lexical analyzer.
1204 @cindex lexical analyzer, purpose
1219 The tokens come from a function called the @dfn{lexical analyzer} that
1221 parser calls the lexical analyzer each time it wants a new token. It
1223 may reflect this). Typically the lexical analyzer makes the tokens by
1230 the lexical analyzer. Another is an error-reporting function which the
1239 such as the lexical analyzer function @code{yylex}, the error reporting
1275 Write a lexical analyzer to process input and pass tokens to the parser.
1276 The lexical analyzer may be written by hand in C (@pxref{Lexical, ,The
1331 You need to declare the lexical analyzer @code{yylex} and the error
1391 * Lexer: Rpcalc Lexer. The lexical analyzer.
1530 grammatical error is seen or the lexical analyzer says there are no more
1620 @cindex writing a lexical analyzer
1621 @cindex lexical analyzer, writing
1623 The lexical analyzer's job is low-level parsing: converting characters
1625 tokens by calling the lexical analyzer. @xref{Lexical, ,The Lexical
1628 Only a simple lexical analyzer is needed for the @acronym{RPN}
1630 lexical analyzer skips blanks and tabs, then reads in numbers as
1635 The return value of the lexical analyzer function is a numeric code which
1640 character literal in the lexical analyzer to express the number. If the
1654 Here is the code for the lexical analyzer:
1658 /* The lexical analyzer returns a double floating point
1960 analyzer.
1965 * Lexer: Ltcalc Lexer. The lexical analyzer.
2070 tracking. The next step is to rewrite the lexical analyzer, and make it
2129 Basically, the lexical analyzer performs the same processing as before:
2168 only single-character literals. The lexical analyzer @code{yylex} passes
2785 Declarations}). If you don't do that, the lexical analyzer has to
4094 calling convention is used for the lexical analyzer function
4455 @cindex lexical analyzer
4457 The @dfn{lexical analyzer} function, @code{yylex}, recognizes tokens from
8410 User-supplied lexical analyzer function, called with no arguments to get
8574 @item Lexical analyzer (scanner)
8606 analyzer.
8663 the lexical analyzer. @xref{Symbols}.