Finished editting PythonLangImpl8.rst in docs.
This commit is contained in:
parent
f74f5129bd
commit
882c9e0271
2 changed files with 276 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ numeric value of a number). First, we define the possibilities:
|
|||
|
||||
Each token yielded by our lexer will be of one of the above types. For
|
||||
simple tokens that are always the same, like the "def" keyword, the
|
||||
lexer will yield ``DefToken()``>. Identifiers, numbers and characters,
|
||||
lexer will yield ``DefToken()``. Identifiers, numbers and characters,
|
||||
on the other hand, have extra data, so when the lexer encounteres the
|
||||
number 123.45, it will emit it as ``NumberToken(123.45)``. An identifier
|
||||
``foo`` will be emitted as ``IdentifierToken('foo')``. And finally, an
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue