Directories ¶
Path | Synopsis |
---|---|
Package ast contains the definitions of the abstract-syntax tree that our parse produces, and our interpreter executes.
|
Package ast contains the definitions of the abstract-syntax tree that our parse produces, and our interpreter executes. |
Package evaluator contains the core of our interpreter, which walks the AST produced by the parser and evaluates the user-submitted program.
|
Package evaluator contains the core of our interpreter, which walks the AST produced by the parser and evaluates the user-submitted program. |
Package lexer contains the code to lex input-programs into a stream of tokens, such that they may be parsed.
|
Package lexer contains the code to lex input-programs into a stream of tokens, such that they may be parsed. |
Package object contains our core-definitions for objects.
|
Package object contains our core-definitions for objects. |
Package parser is used to parse input-programs written in monkey and convert them to an abstract-syntax tree.
|
Package parser is used to parse input-programs written in monkey and convert them to an abstract-syntax tree. |
Package token contains constants which are used when lexing a program written in the monkey language, as done by the parser.
|
Package token contains constants which are used when lexing a program written in the monkey language, as done by the parser. |
Click to show internal directories.
Click to hide internal directories.