docs: backend-coverage-matrix に JAVA_CODE_LEGACY_ASTCREATOR を追加 (5→6 backends) - #64
Merged
Merged
Conversation
…backends) (#60) SPEC.md 1.3 は6バックエンドを記載するが、docs/backend-coverage-matrix.md は 5バックエンド表記で JAVA_CODE_LEGACY_ASTCREATOR が欠落していた。 - 冒頭見出し "5 Execution Backends" → "6 Execution Backends" - バックエンド一覧表に compile-legacy-astcreator 行を追加 (実装クラス: LegacyAstCreatorJavaCodeCalculator, 凍結・リグレッション比較用) - Feature Coverage 表に compile-legacy-astcreator 列を追加 (JavaCodeCalculatorV3 継承・tokenReduer() override のみなので compile-hand と同一 coverage) - docs/INDEX.md の "5 backends" 表記2箇所を "6 backends" に更新 Closes#60
# Conflicts: # docs/INDEX.md # docs/backend-coverage-matrix.md
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
対象 issue
Closes#60
変更概要
spec/SPEC.md1.3 は 6 バックエンド(JAVA_CODE_LEGACY_ASTCREATOR含む)を記載するが、docs/backend-coverage-matrix.mdは 5 バックエンド表記でJAVA_CODE_LEGACY_ASTCREATORが欠落していた。本 PR で両者の整合を取る。変更内容
docs/backend-coverage-matrix.mdcoverage 判定の根拠(実測)
`LegacyAstCreatorJavaCodeCalculator` は `JavaCodeCalculatorV3` を継承し `tokenReduer()` のみを override する(`src/main/java/org/unlaxer/tinyexpression/evaluator/javacode/legacy/LegacyAstCreatorJavaCodeCalculator.java:15-33`)。Java コード生成能力は `compile-hand` と等価なため、Feature Coverage は `compile-hand` と同一。
String slice (`$s[0:3]`) についても、`StringClauseBuilder.buildSlice`(`src/main/java/org/unlaxer/tinyexpression/evaluator/javacode/StringClauseBuilder.java:178`)が `SliceParser` に register されており、`compile-hand` と同じ経路で処理されるため ✅ とした。
影響範囲
検証
関連