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:
25
local_tests/test_windows_vm.hako
Normal file
25
local_tests/test_windows_vm.hako
Normal file
@ -0,0 +1,25 @@
|
||||
// Windows VM Test Program
|
||||
// 超シンプルなプログラムでVMの動作確認
|
||||
|
||||
print("🎉 Hello from Nyash VM on Windows!")
|
||||
print("=====================================")
|
||||
|
||||
// 基本的な計算
|
||||
local x = 10
|
||||
local y = 20
|
||||
local result = x + y
|
||||
print("10 + 20 = " + result)
|
||||
|
||||
// ループテスト
|
||||
print("\nCounting to 5:")
|
||||
local i = 1
|
||||
loop(i <= 5) {
|
||||
print(" Count: " + i)
|
||||
i = i + 1
|
||||
}
|
||||
|
||||
// Box生成テスト
|
||||
local str = new StringBox("Nyash")
|
||||
print("\nStringBox created: " + str)
|
||||
|
||||
print("\n✅ VM test completed successfully!")
|
||||
Reference in New Issue
Block a user