Architecture
The AXON API is organized into three major phases:Phase 1: Compilation Pipeline
Phase 2: Backend Compilation
Phase 3: Runtime Execution
Quick Reference
Compiler API
| Class | Purpose | Documentation |
|---|---|---|
Lexer | Tokenizes source code | Lexer API |
Parser | Builds abstract syntax tree | Parser API |
TypeChecker | Validates epistemic types | TypeChecker API |
IRGenerator | Generates intermediate representation | IR Generator API |
Backend API
| Function/Class | Purpose | Documentation |
|---|---|---|
get_backend(name) | Get a backend instance | Backends API |
BACKEND_REGISTRY | Available backend registry | Backends API |
BaseBackend | Abstract backend interface | Backends API |
Runtime API
| Class | Purpose | Documentation |
|---|---|---|
Executor | Main runtime orchestrator | Executor API |
ContextManager | Execution state management | Context API |
BaseTool | Tool implementation interface | Tools API |
MemoryBackend | Semantic memory storage | Memory API |
Installation
Version
Current version:0.4.0a0
Next Steps
Lexer API
Tokenize AXON source code
Parser API
Build cognitive syntax trees
Executor API
Execute compiled programs
Tools API
Build custom runtime tools
