mir: implement proper short-circuit lowering (&&/||) via branch+phi; vm: add NYASH_VM_TRACE exec/phi logs and reg_load diagnostics; vm-fallback: minimal Void guards (push/get_position/line/column), MapBox.birth no-op; smokes: filter builtin Array/Map plugin notices; docs: CURRENT_TASK updated

This commit is contained in:
Selfhosting Dev
2025-09-26 03:30:59 +09:00
parent 041cef875a
commit fd56b8049a
45 changed files with 3022 additions and 204 deletions

29
json_test_simple.nyash Normal file
View File

@ -0,0 +1,29 @@
using "apps/lib/json_native/core/node.nyash" as JsonNode
using "apps/lib/json_native/utils/string.nyash" 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
}
}