implements PLN-0118
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
id: PLN-0118
|
||||
ticket: multi-frontend-frontend-backend-contract
|
||||
title: Common IRBackend backend guardrails
|
||||
status: open
|
||||
status: done
|
||||
created: 2026-07-15
|
||||
ref_decisions: [DEC-0043]
|
||||
tags: [compiler, compiler-general, compiler-pbs, ir, backend, multi-frontend]
|
||||
@@ -81,13 +81,13 @@ Included:
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Common backend source code has no dependency on `p.studio.compiler.pbs`.
|
||||
- [ ] Public `IRBackend` contract types expose no PBS AST, token, parser, semantic, or editorial classes.
|
||||
- [ ] A backend test manually constructs executable `IRBackend` and lowers it without invoking PBS parser or PBS frontend compiler services.
|
||||
- [ ] Common backend lifecycle/entrypoint validation names and diagnostics are neutral where the behavior is common.
|
||||
- [ ] Existing PBS frontend lowering tests still pass.
|
||||
- [ ] Existing backend lowering tests still pass.
|
||||
- [ ] No IR model redesign or `IRBackend` rename was introduced.
|
||||
- [x] Common backend source code has no dependency on `p.studio.compiler.pbs`.
|
||||
- [x] Public `IRBackend` contract types expose no PBS AST, token, parser, semantic, or editorial classes.
|
||||
- [x] A backend test manually constructs executable `IRBackend` and lowers it without invoking PBS parser or PBS frontend compiler services.
|
||||
- [x] Common backend lifecycle/entrypoint validation names and diagnostics are neutral where the behavior is common.
|
||||
- [x] Existing PBS frontend lowering tests still pass.
|
||||
- [x] Existing backend lowering tests still pass.
|
||||
- [x] No IR model redesign or `IRBackend` rename was introduced.
|
||||
|
||||
## Tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user