-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
Leonard Ramminger edited this page May 14, 2026
·
1 revision
Prebyte is split into focused modules:
-
cli/command parsing -
config/settings, profiles, rules, variable imports -
io/input and output -
template/lexer/tokens -
template/parser/recursive-descent parser -
template/ast/typed AST nodes -
runtime/renderer, compiled executor, include resolver, value resolution, Lua runtime -
support/diagnostics and spans
Execution path:
- source lexed into tokens
- parser builds AST
- compiler emits
CompiledProgram - executor renders program with scoped variables, functions, includes, and Lua support
Compiled template files:
-
.pbtsource template -
.pbccompiled cache