Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
kukel
command
Command kukel compiles and runs Kukel programs.
|
Command kukel compiles and runs Kukel programs. |
|
internal
|
|
|
ast
Package ast declares the syntax tree of Kukel programs (syntax.ebnf, sections 1-3).
|
Package ast declares the syntax tree of Kukel programs (syntax.ebnf, sections 1-3). |
|
builtins
Package builtins implements Kukel's built-in functions.
|
Package builtins implements Kukel's built-in functions. |
|
bytecode
Package bytecode defines the instruction set of the Kukel stack machine and the compiled program image.
|
Package bytecode defines the instruction set of the Kukel stack machine and the compiled program image. |
|
compiler
Package compiler translates syntax trees into bytecode for the stack machine.
|
Package compiler translates syntax trees into bytecode for the stack machine. |
|
diag
Package diag defines the error type shared by the lexer, parser, checker and compiler: a message at a source position.
|
Package diag defines the error type shared by the lexer, parser, checker and compiler: a message at a source position. |
|
lexer
Package lexer turns Kukel source text into tokens (syntax.ebnf, section 4).
|
Package lexer turns Kukel source text into tokens (syntax.ebnf, section 4). |
|
parser
Package parser builds the syntax tree of a Kukel source file (syntax.ebnf, sections 1-3) by recursive descent.
|
Package parser builds the syntax tree of a Kukel source file (syntax.ebnf, sections 1-3) by recursive descent. |
|
token
Package token defines the lexical tokens of Kukel (syntax.ebnf, section 4).
|
Package token defines the lexical tokens of Kukel (syntax.ebnf, section 4). |
|
value
Package value defines Kukel's runtime values and the semantics of the operators on them.
|
Package value defines Kukel's runtime values and the semantics of the operators on them. |
|
vm
Package vm executes compiled Kukel programs on a stack machine.
|
Package vm executes compiled Kukel programs on a stack machine. |
Click to show internal directories.
Click to hide internal directories.