phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0

This commit is contained in:
nyash-codex
2025-11-06 15:41:52 +09:00
parent 2dc370223d
commit 77d4fd72b3
1658 changed files with 6288 additions and 2612 deletions

29
json_test_simple.hako Normal file
View File

@ -0,0 +1,29 @@
using "apps/lib/json_native/core/node.hako" as JsonNode
using "apps/lib/json_native/utils/string.hako" as StringUtils
// シンプルなJSONテスト
static box SimpleTest {
main() {
print("🧪 Simple JSON Test")
// 基本的なテスト
local json_null = JsonNode.parse("null")
print("null parse: " + json_null.stringify())
local json_bool = JsonNode.parse("true")
print("true parse: " + json_bool.stringify())
local json_int = JsonNode.parse("42")
print("integer parse: " + json_int.stringify())
local json_str = JsonNode.parse("\"hello\"")
print("string parse: " + json_str.stringify())
// StringUtils テスト
local trimmed = StringUtils.trim(" hello world ")
print("trimmed: '" + trimmed + "'")
print("✅ Simple test complete")
return 0
}
}