Documentation
¶
Overview ¶
kong compiles Monkey source code into bytecode and runs it in a virtual machine.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ast defines the Abstract Syntax Tree (AST) for the Monkey programming language.
|
Package ast defines the Abstract Syntax Tree (AST) for the Monkey programming language. |
|
Package code provides bytecode instruction definitions and utilities for the compiler and virtual machine.
|
Package code provides bytecode instruction definitions and utilities for the compiler and virtual machine. |
|
Package compiler transforms abstract syntax tree (AST) nodes into bytecode instructions.
|
Package compiler transforms abstract syntax tree (AST) nodes into bytecode instructions. |
|
Package lexer implements the lexical analyzer for the Monkey programming language.
|
Package lexer implements the lexical analyzer for the Monkey programming language. |
|
Package object defines the object system for the Monkey programming language.
|
Package object defines the object system for the Monkey programming language. |
|
Package parser implements the syntactic analyzer for the Monkey programming language.
|
Package parser implements the syntactic analyzer for the Monkey programming language. |
|
Package repl provides a Read-Eval-Print Loop (REPL) for interactive code execution.
|
Package repl provides a Read-Eval-Print Loop (REPL) for interactive code execution. |
|
Package token defines the token types and structures for the Monkey programming language.
|
Package token defines the token types and structures for the Monkey programming language. |
|
Package vm implements a stack-based virtual machine for executing bytecode instructions.
|
Package vm implements a stack-based virtual machine for executing bytecode instructions. |
Click to show internal directories.
Click to hide internal directories.