- Archive old documentation and test files to `docs/archive/` and `local_tests/`. - Remove various temporary and old files from the project root. - Add `nekocode-rust` analysis tool and its output files (`nekocode/`, `.nekocode_sessions/`, `analysis.json`). - Minor updates to `apps/chip8_nyash/chip8_emulator.nyash` and `local_tests` files. This commit cleans up the repository and sets the stage for further code modularization efforts, particularly in the `src/interpreter` and `src/parser` modules, based on recent analysis.
26 lines
437 B
Plaintext
26 lines
437 B
Plaintext
// Nyash標準ライブラリテスト
|
|
// Phase 0: using nyashstd 基本機能
|
|
|
|
using nyashstd
|
|
|
|
local result
|
|
result = string.create("Hello World")
|
|
print(result)
|
|
|
|
local upper_result
|
|
upper_result = string.upper(result)
|
|
print(upper_result)
|
|
|
|
local number
|
|
number = integer.create(42)
|
|
print(number)
|
|
|
|
local flag
|
|
flag = bool.create(true)
|
|
print(flag)
|
|
|
|
local arr
|
|
arr = array.create()
|
|
print(arr)
|
|
|
|
console.log("✅ using nyashstd test completed!") |