- 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.
25 lines
820 B
Plaintext
25 lines
820 B
Plaintext
// 🧪 Null Literal Support Test (Simplified)
|
|
|
|
static box Main {
|
|
init { console }
|
|
|
|
main() {
|
|
me.console = new ConsoleBox()
|
|
me.console.log("🧪 Testing Null Literal Support (Simplified)")
|
|
|
|
// Test 1: Basic null assignment and display
|
|
local null_value = null
|
|
me.console.log("Null value: " + null_value)
|
|
|
|
// Test 2: Null in string concatenation
|
|
local concat_test = "Result: " + null_value + " (end)"
|
|
me.console.log("Concatenation test: " + concat_test)
|
|
|
|
// Test 3: Non-null vs null
|
|
local non_null_value = "not null"
|
|
me.console.log("Non-null value: " + non_null_value)
|
|
|
|
me.console.log("✅ Null literal basic functionality works!")
|
|
return "Null literal test complete"
|
|
}
|
|
} |