Note
The two flagships are Story 08 — the type checker (the correctness engine on the spine) and Story 16 — parsable lambdas / expression trees (the marquee feature that enables LINQ-style query builders and ORMs).
Tier 3 · Story 30Complete
Tyhp is built in a deliberately ordered sequence of stories, grouped into four tiers. The guiding principle is a thin vertical slice that compiles and runs end-to-end as early as possible.
This alpha (805.0.0-alpha.1) is Tier 1 complete — stories 01 through 16.5. Stories 17+ are not shipped.
Stories are numbered contiguously from 01 to 30 with additive sub-stories (08.5, 10.5, 14.5, 16.5, 19.5, 20.5). Each documentation page carries a Tier/Story badge.
The two flagships are Story 08 — the type checker (the correctness engine on the spine) and Story 16 — parsable lambdas / expression trees (the marquee feature that enables LINQ-style query builders and ORMs).
__ClassName, template string types, …).805.0.0).__CallableParametersStruct / __CallableParametersTuple / __CallableReturnType).vscode-tyhp).declare(php=…) / #[\Tyhp\Php]).tyhp/php + tyhp/php-ext-*; this alpha ships a thin PHP 8.2-baseline tyhp/php only). Includes the planned built-in scalar method catalog ($name->toUpper(), …).internal visibility modifier.new<TArgs...> constructable object type.Story 28 (generic defaults) shipped with this alpha; see Tier 1 above.
Compiled Tyhp code depends on Composer packages under the tyhp/ vendor (GitHub org tyhpproject):
tyhp/core — type-system support, property accessors, strongly-typed variable wrappers, and disposable interfacestyhp/async — Promise<T>, event loop, cancellation tokens, deferred execution, and async iteratorstyhp/decimal — the decimal type with operator-overload support for precise arithmetictyhp/lambda — expression-tree nodes, visitors, and serialization for parsable lambdastyhp/php — PHP builtin tyhpdefs (8.2 baseline in this alpha)Tyhp's long-term goal is to be for PHP what TypeScript is for JavaScript: a mature, widely-adopted typed superset that makes PHP development safer, more productive, and more enjoyable — while always producing standard PHP that runs anywhere PHP runs.