Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package annotations discovers annotated PHP files in a source tree and gives them a lifecycle: routed endpoints are served over HTTP, startup jobs run once before the server listens, and scheduled jobs run on an interval.
|
Package annotations discovers annotated PHP files in a source tree and gives them a lifecycle: routed endpoints are served over HTTP, startup jobs run once before the server listens, and scheduled jobs run on an interval. |
|
cmd
|
|
|
Package config defines the config/config.yml configuration model.
|
Package config defines the config/config.yml configuration model. |
|
Package flatstack provides the runner embedding API with an opt-in flat bytecode backend.
|
Package flatstack provides the runner embedding API with an opt-in flat bytecode backend. |
|
engine
Package engine compiles model AST programs into flat bytecode and executes them against a host-provided PHP semantics bridge.
|
Package engine compiles model AST programs into flat bytecode and executes them against a host-provided PHP semantics bridge. |
|
Package formatter pretty-prints phpscript ASTs in a gofmt-like style: hard tabs, canonical `function` keywords, parentheses on control structures, semicolons, collapsed blank lines, and a trailing newline.
|
Package formatter pretty-prints phpscript ASTs in a gofmt-like style: hard tabs, canonical `function` keywords, parentheses on control structures, semicolons, collapsed blank lines, and a trailing newline. |
|
internal
|
|
|
Package list builds a markdown inventory of PHP routes, files and classes.
|
Package list builds a markdown inventory of PHP routes, files and classes. |
|
Package model holds the shared data structures (AST, runtime values, class metadata) used by both the parser and the runner packages.
|
Package model holds the shared data structures (AST, runtime values, class metadata) used by both the parser and the runner packages. |
|
Package parser turns PHP source (the limited subset described in the project README) into the shared model AST consumed by the runner.
|
Package parser turns PHP source (the limited subset described in the project README) into the shared model AST consumed by the runner. |
|
Package stdlib provides the forwarded "bring your own standard library" shims (the README's register_function mechanism).
|
Package stdlib provides the forwarded "bring your own standard library" shims (the README's register_function mechanism). |
|
compat
Package compat implements PHP language surface that a script expects to be there rather than a library it calls: functions whose behaviour is defined by what the interpreter does, not by what they compute.
|
Package compat implements PHP language surface that a script expects to be there rather than a library it calls: functions whose behaviour is defined by what the interpreter does, not by what they compute. |
|
span
Package span exposes telemetry spans to PHP as the start_span() binding, so a script can measure a region of its own work next to the spans the interpreter records for it.
|
Package span exposes telemetry spans to PHP as the start_span() binding, so a script can measure a region of its own work next to the spans the interpreter records for it. |
|
Package telemetry binds github.com/titpetric/oida into the phpscript namespace: traces and spans recorded in process, with a server side rendered front end mounted at /debug/oida.
|
Package telemetry binds github.com/titpetric/oida into the phpscript namespace: traces and spans recorded in process, with a server side rendered front end mounted at /debug/oida. |
Click to show internal directories.
Click to hide internal directories.