- 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.
23 lines
534 B
Plaintext
23 lines
534 B
Plaintext
// Test for Phase 6 Box reference operations
|
|
// Simple field access test
|
|
|
|
static box Main {
|
|
init { console }
|
|
|
|
main() {
|
|
me.console = new ConsoleBox()
|
|
me.console.log("Testing Phase 6 Box reference operations")
|
|
|
|
// Create a simple object
|
|
local obj
|
|
obj = new StringBox("Hello")
|
|
|
|
// Test field access
|
|
local result
|
|
result = obj.length
|
|
|
|
print("Field access result: " + result)
|
|
|
|
return "Phase 6 test completed"
|
|
}
|
|
} |