json-native: token positions (line/column); escape utils BMP coverage + surrogate guard; add smokes for string escapes, nested, and error cases (AST/VM)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
## 📝 概要
|
||||
Rust/inkwellの複雑性を回避し、llvmliteを使ってシンプルに実装する実験的バックエンド。
|
||||
ChatGPTが設計した`docs/design/LLVM_LAYER_OVERVIEW.md`の設計原則に従う。
|
||||
ChatGPTが設計した`docs/development/design/legacy/LLVM_LAYER_OVERVIEW.md`の設計原則に従う。
|
||||
|
||||
## 🎯 目的
|
||||
1. **検証ハーネス** - PHI/SSA構造の高速検証
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Nyash LLVM Python Backend - Main Builder
|
||||
Following the design principles in docs/design/LLVM_LAYER_OVERVIEW.md
|
||||
Following the design principles in docs/development/design/legacy/LLVM_LAYER_OVERVIEW.md
|
||||
"""
|
||||
|
||||
import json
|
||||
|
||||
@ -12,7 +12,7 @@ import llvmlite.ir as ir
|
||||
class Resolver:
|
||||
"""
|
||||
Centralized value resolution with per-block caching.
|
||||
Following the Core Invariants from docs/design/LLVM_LAYER_OVERVIEW.md:
|
||||
Following the Core Invariants from docs/development/design/legacy/LLVM_LAYER_OVERVIEW.md:
|
||||
- Resolver-only reads
|
||||
- Localize at block start (PHI creation)
|
||||
- Cache per (block, value) to avoid redundant PHIs
|
||||
|
||||
Reference in New Issue
Block a user