Language¶
The Python DSL as the compiler sees it.
| Page | What it covers |
|---|---|
| Python IR Syntax Specification | Module structure, type system, expressions — the entry point to the spec |
| Statements and Control Flow | Assignment, if/for/while, scope context managers, yield, compile-time directives, SSA phi nodes |
| Manual Dependency Primitives | pl.manual_scope, explicit deps= edges, dispatch predicates, array-carry fences |
| Functions and Program Structure | Function types, parameter directions, cross-module reuse, printing IR |
| Integrating Hand-Written C++ Kernels | Calling an existing hand-written C++ InCore kernel from a PyPTO program |
| GM Cache-Access Policy | pl.set_cache_policy / pl.load(cache=...) — the declared GM cache policy, its coherency contract, and how it reaches codegen |
See Also¶
- IR Parser — how this syntax becomes IR.
- Language Guide — the same language from a user's perspective.