Architecture map
High-level pipeline from source text to execution:
flowchart LR
source[Source text] --> reader[Reader and layouts]
reader --> expand[Macro expansion]
expand --> compile[Compiler specials]
compile --> bytecode[KosCode bytecode]
bytecode --> eval[Evaluator VM]
Python package layout
Area |
Package path |
Role |
|---|---|---|
Reader |
|
S-expressions, layout blocks |
Compiler |
|
Special forms, bytecode emission |
Syntax |
|
Syntax-rule transformers |
Pattern matcher |
|
Pattern matching for specials and |
VM |
|
Native types, bytecode, evaluator |
CLI |
|
REPL and script runner |
Builtins |
|
Standard library (virtual module) |
Bootstrap .ki sources compile into koskari.builtins; that loading
machinery is internal and not part of this user documentation.