Skip to content

v0.2.0

Choose a tag to compare

@petr-buchin petr-buchin released this 06 Nov 21:34
· 74 commits to main since this release
2a51ee1

The first release, for PhpStorm 2025.1 and newer, with the compiler's 0.2.0.

A .phn file is PHP to PhpStorm, so its lexer, parser, indexes and inspections run on it.
Phaenon's syntax (generics, list<T>, map<K, V>, tuples, class<T>, closure types, expression
bodies and throws, concurrently and spawn, PHP 8.6's partial application) is erased on the
way to the parser and its types are given back to completion, navigation, quick documentation and
the inspections. In the commercial IDEs the compiler's diagnostics come from phn lsp, which also
builds on save; Reformat Code writes Phaenon's layout through phn fmt; and the line map every
compiled file carries takes Xdebug's breakpoints, frames and steps, and every position in compiled
code a console or a test run shows, to the .phn line.