Phase 5a: add configurable Jai module roots
This commit is contained in:
@@ -170,7 +170,7 @@ Each phase has a machine-checkable gate. Do not advance without a green gate.
|
||||
| **3** | `.bnf` grammar, generated parser + PSI, `ParserDefinition` | Tier 2 golden trees; Tier 3 corpus parse ≥ target — **done, 100.0% (714/714)** |
|
||||
| **4** | Structure view, folding, `#import`/`#load` reference resolution + go-to-definition | Tier 4 fixture tests — **done** |
|
||||
| **5** | Completion (keywords, directives, module names), rename, find-usages | Tier 4 fixture tests — **done** (71-test suite) |
|
||||
| **5a** | Configurable Jai module/import roots and indexed external search scope | Tier 4 settings, resolution, completion, navigation, and find-usages tests |
|
||||
| **5a** | Configurable Jai module/import roots and indexed external search scope | Tier 4 settings, resolution, completion, navigation, and find-usages tests — **done** (78-test suite) |
|
||||
| **6** | Formatter, code style settings | Formatter round-trip: formatting the corpus is idempotent |
|
||||
| **7** | Inspections (e.g. `#must` misuse), quick fixes, live templates | Tier 4 + `verifyPlugin` |
|
||||
| **8** | Optional: run-configuration to invoke the `jai` compiler, parse its error output | Integration test against `~/.local/jai/bin` |
|
||||
@@ -198,7 +198,7 @@ corpus-scale invariant that needs no human judgment.
|
||||
## 6. Open questions for you
|
||||
|
||||
1. **Scope/ambition** — stop at the current syntax, navigation, and basic
|
||||
refactoring support (Phases 0–5), or go all the way to formatter and
|
||||
refactoring support (Phases 0–5a), or go all the way to formatter and
|
||||
inspections (0–7)?
|
||||
2. **Compiler integration** (Phase 8) — worth it? It's the only phase needing
|
||||
the actual `jai` binary, and it's the least testable.
|
||||
@@ -208,7 +208,6 @@ corpus-scale invariant that needs no human judgment.
|
||||
setup, works today), or install a system JDK via Homebrew? I'd default to the
|
||||
wrapper.
|
||||
|
||||
Phases 0–5 are implemented and verified headlessly. The next planned increment
|
||||
is Phase 5a: configurable module/import roots and indexed external search scope.
|
||||
After that, decide whether to continue with the optional formatter, inspections,
|
||||
and compiler integration work in Phases 6–8.
|
||||
Phases 0–5a are implemented and verified headlessly. The next decision is
|
||||
whether to continue with the optional formatter, inspections, and compiler
|
||||
integration work in Phases 6–8.
|
||||
|
||||
Reference in New Issue
Block a user