- 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.
20 lines
477 B
Plaintext
20 lines
477 B
Plaintext
// Test basic field access sharing
|
|
static box Main {
|
|
init { mybox }
|
|
|
|
main() {
|
|
me.mybox = new IntegerBox(100)
|
|
|
|
print("=== Test 1: Basic field access ===")
|
|
local temp1
|
|
temp1 = me.mybox
|
|
print("temp1 ID: " + temp1.toString())
|
|
|
|
local temp2
|
|
temp2 = me.mybox
|
|
print("temp2 ID: " + temp2.toString())
|
|
|
|
// The IDs should be the same if sharing works
|
|
return temp1
|
|
}
|
|
} |