interpreter/

directory
v0.0.0-...-b3b5e69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2021 License: MIT

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL