Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
Lexer converts a string input to produce tokens for the Monkey language. It always keeps track of the current position, the next readable position and the current character under examination. These tokens will be parsed by the parser, which constructs the abstract syntax-tree (AST).
Click to show internal directories.
Click to hide internal directories.